Package org.lwjgl.openxr
Class XrSystemProperties.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrSystemProperties,XrSystemProperties.Buffer>
-
- org.lwjgl.openxr.XrSystemProperties.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrSystemProperties>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrSystemProperties
public static class XrSystemProperties.Buffer extends org.lwjgl.system.StructBuffer<XrSystemProperties,XrSystemProperties.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrSystemPropertiesstructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrSystemProperties.Bufferinstance backed by the specified container. Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided byXrSystemProperties.SIZEOF, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Detail
-
type
public int type()
- Returns:
- the value of the
XrSystemProperties.type()field.
-
next
public long next()
- Returns:
- the value of the
XrSystemProperties.next()field.
-
systemId
public long systemId()
- Returns:
- the value of the
XrSystemProperties.systemId()field.
-
vendorId
public int vendorId()
- Returns:
- the value of the
XrSystemProperties.vendorId()field.
-
systemName
public java.nio.ByteBuffer systemName()
- Returns:
- a
ByteBufferview of theXrSystemProperties.systemName()field.
-
systemNameString
public java.lang.String systemNameString()
- Returns:
- the null-terminated string stored in the
XrSystemProperties.systemName()field.
-
graphicsProperties
public XrSystemGraphicsProperties graphicsProperties()
- Returns:
- a
XrSystemGraphicsPropertiesview of theXrSystemProperties.graphicsProperties()field.
-
trackingProperties
public XrSystemTrackingProperties trackingProperties()
- Returns:
- a
XrSystemTrackingPropertiesview of theXrSystemProperties.trackingProperties()field.
-
type
public XrSystemProperties.Buffer type(int value)
Sets the specified value to theXrSystemProperties.type()field.
-
type$Default
public XrSystemProperties.Buffer type$Default()
Sets theTYPE_SYSTEM_PROPERTIESvalue to theXrSystemProperties.type()field.
-
next
public XrSystemProperties.Buffer next(long value)
Sets the specified value to theXrSystemProperties.next()field.
-
next
public XrSystemProperties.Buffer next(XrSystemColorSpacePropertiesFB value)
Prepends the specifiedXrSystemColorSpacePropertiesFBvalue to thenextchain.
-
next
public XrSystemProperties.Buffer next(XrSystemEyeGazeInteractionPropertiesEXT value)
Prepends the specifiedXrSystemEyeGazeInteractionPropertiesEXTvalue to thenextchain.
-
next
public XrSystemProperties.Buffer next(XrSystemFacialTrackingPropertiesHTC value)
Prepends the specifiedXrSystemFacialTrackingPropertiesHTCvalue to thenextchain.
-
next
public XrSystemProperties.Buffer next(XrSystemFoveatedRenderingPropertiesVARJO value)
Prepends the specifiedXrSystemFoveatedRenderingPropertiesVARJOvalue to thenextchain.
-
next
public XrSystemProperties.Buffer next(XrSystemHandTrackingMeshPropertiesMSFT value)
Prepends the specifiedXrSystemHandTrackingMeshPropertiesMSFTvalue to thenextchain.
-
next
public XrSystemProperties.Buffer next(XrSystemHandTrackingPropertiesEXT value)
Prepends the specifiedXrSystemHandTrackingPropertiesEXTvalue to thenextchain.
-
next
public XrSystemProperties.Buffer next(XrSystemKeyboardTrackingPropertiesFB value)
Prepends the specifiedXrSystemKeyboardTrackingPropertiesFBvalue to thenextchain.
-
next
public XrSystemProperties.Buffer next(XrSystemMarkerTrackingPropertiesVARJO value)
Prepends the specifiedXrSystemMarkerTrackingPropertiesVARJOvalue to thenextchain.
-
next
public XrSystemProperties.Buffer next(XrSystemPassthroughPropertiesFB value)
Prepends the specifiedXrSystemPassthroughPropertiesFBvalue to thenextchain.
-
next
public XrSystemProperties.Buffer next(XrSystemRenderModelPropertiesFB value)
Prepends the specifiedXrSystemRenderModelPropertiesFBvalue to thenextchain.
-
next
public XrSystemProperties.Buffer next(XrSystemSpaceWarpPropertiesFB value)
Prepends the specifiedXrSystemSpaceWarpPropertiesFBvalue to thenextchain.
-
-