Package org.lwjgl.openxr
Class XrSystemProperties
- All Implemented Interfaces:
AutoCloseable
,NativeResource
,Pointer
struct XrSystemProperties {
XrStructureType type;
void * next;
XrSystemId systemId;
uint32_t vendorId;
char systemName[XR_MAX_SYSTEM_NAME_SIZE];
{@link XrSystemGraphicsProperties XrSystemGraphicsProperties} graphicsProperties;
{@link XrSystemTrackingProperties XrSystemTrackingProperties} trackingProperties;
}
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidation
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The struct alignment in bytes.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct size in bytes.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionXrSystemProperties
(ByteBuffer container) Creates aXrSystemProperties
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionstatic XrSystemProperties
calloc()
Returns a newXrSystemProperties
instance allocated withmemCalloc
.static XrSystemProperties.Buffer
calloc
(int capacity) Returns a newXrSystemProperties.Buffer
instance allocated withmemCalloc
.static XrSystemProperties.Buffer
calloc
(int capacity, MemoryStack stack) Returns a newXrSystemProperties.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static XrSystemProperties
calloc
(MemoryStack stack) Returns a newXrSystemProperties
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static XrSystemProperties
create()
Returns a newXrSystemProperties
instance allocated withBufferUtils
.static XrSystemProperties.Buffer
create
(int capacity) Returns a newXrSystemProperties.Buffer
instance allocated withBufferUtils
.static XrSystemProperties
create
(long address) Returns a newXrSystemProperties
instance for the specified memory address.static XrSystemProperties.Buffer
create
(long address, int capacity) Create aXrSystemProperties.Buffer
instance at the specified memory.static @Nullable XrSystemProperties
createSafe
(long address) static @Nullable XrSystemProperties.Buffer
createSafe
(long address, int capacity) static XrSystemProperties
malloc()
Returns a newXrSystemProperties
instance allocated withmemAlloc
.static XrSystemProperties.Buffer
malloc
(int capacity) Returns a newXrSystemProperties.Buffer
instance allocated withmemAlloc
.static XrSystemProperties.Buffer
malloc
(int capacity, MemoryStack stack) Returns a newXrSystemProperties.Buffer
instance allocated on the specifiedMemoryStack
.static XrSystemProperties
malloc
(MemoryStack stack) Returns a newXrSystemProperties
instance allocated on the specifiedMemoryStack
.long
next()
next
(long value) Sets the specified value to thenext
field.next
(XrSystemAnchorPropertiesHTC value) Prepends the specifiedXrSystemAnchorPropertiesHTC
value to thenext
chain.Prepends the specifiedXrSystemBodyTrackingPropertiesBD
value to thenext
chain.Prepends the specifiedXrSystemBodyTrackingPropertiesFB
value to thenext
chain.Prepends the specifiedXrSystemBodyTrackingPropertiesHTC
value to thenext
chain.Prepends the specifiedXrSystemColocationDiscoveryPropertiesMETA
value to thenext
chain.Prepends the specifiedXrSystemColorSpacePropertiesFB
value to thenext
chain.Prepends the specifiedXrSystemEnvironmentDepthPropertiesMETA
value to thenext
chain.Prepends the specifiedXrSystemEyeGazeInteractionPropertiesEXT
value to thenext
chain.Prepends the specifiedXrSystemEyeTrackingPropertiesFB
value to thenext
chain.Prepends the specifiedXrSystemFaceTrackingProperties2FB
value to thenext
chain.Prepends the specifiedXrSystemFaceTrackingPropertiesFB
value to thenext
chain.Prepends the specifiedXrSystemFacialExpressionPropertiesML
value to thenext
chain.Prepends the specifiedXrSystemFacialTrackingPropertiesHTC
value to thenext
chain.Prepends the specifiedXrSystemForceFeedbackCurlPropertiesMNDX
value to thenext
chain.Prepends the specifiedXrSystemFoveatedRenderingPropertiesVARJO
value to thenext
chain.Prepends the specifiedXrSystemFoveationEyeTrackedPropertiesMETA
value to thenext
chain.Prepends the specifiedXrSystemHandTrackingMeshPropertiesMSFT
value to thenext
chain.Prepends the specifiedXrSystemHandTrackingPropertiesEXT
value to thenext
chain.Prepends the specifiedXrSystemHeadsetIdPropertiesMETA
value to thenext
chain.Prepends the specifiedXrSystemKeyboardTrackingPropertiesFB
value to thenext
chain.Prepends the specifiedXrSystemMarkerTrackingPropertiesVARJO
value to thenext
chain.Prepends the specifiedXrSystemMarkerUnderstandingPropertiesML
value to thenext
chain.Prepends the specifiedXrSystemPassthroughColorLutPropertiesMETA
value to thenext
chain.Prepends the specifiedXrSystemPassthroughProperties2FB
value to thenext
chain.Prepends the specifiedXrSystemPassthroughPropertiesFB
value to thenext
chain.Prepends the specifiedXrSystemPlaneDetectionPropertiesEXT
value to thenext
chain.Prepends the specifiedXrSystemPropertiesBodyTrackingFullBodyMETA
value to thenext
chain.Prepends the specifiedXrSystemRenderModelPropertiesFB
value to thenext
chain.Prepends the specifiedXrSystemSimultaneousHandsAndControllersPropertiesMETA
value to thenext
chain.Prepends the specifiedXrSystemSpaceWarpPropertiesFB
value to thenext
chain.Prepends the specifiedXrSystemSpatialAnchorPropertiesBD
value to thenext
chain.Prepends the specifiedXrSystemSpatialAnchorSharingPropertiesBD
value to thenext
chain.Prepends the specifiedXrSystemSpatialEntityGroupSharingPropertiesMETA
value to thenext
chain.Prepends the specifiedXrSystemSpatialEntityPropertiesFB
value to thenext
chain.Prepends the specifiedXrSystemSpatialEntitySharingPropertiesMETA
value to thenext
chain.Prepends the specifiedXrSystemSpatialMeshPropertiesBD
value to thenext
chain.Prepends the specifiedXrSystemSpatialScenePropertiesBD
value to thenext
chain.Prepends the specifiedXrSystemSpatialSensingPropertiesBD
value to thenext
chain.Prepends the specifiedXrSystemUserPresencePropertiesEXT
value to thenext
chain.Prepends the specifiedXrSystemVirtualKeyboardPropertiesMETA
value to thenext
chain.static XrSystemGraphicsProperties
ngraphicsProperties
(long struct) Unsafe version ofgraphicsProperties()
.static long
nnext
(long struct) Unsafe version ofnext()
.static void
nnext
(long struct, long value) Unsafe version ofnext
.static long
nsystemId
(long struct) Unsafe version ofsystemId()
.static ByteBuffer
nsystemName
(long struct) Unsafe version ofsystemName()
.static String
nsystemNameString
(long struct) Unsafe version ofsystemNameString()
.static XrSystemTrackingProperties
ntrackingProperties
(long struct) Unsafe version oftrackingProperties()
.static int
ntype
(long struct) Unsafe version oftype()
.static void
ntype
(long struct, int value) Unsafe version oftype
.static int
nvendorId
(long struct) Unsafe version ofvendorId()
.set
(int type, long next) Initializes this struct with the specified values.set
(XrSystemProperties src) Copies the specified struct data to this struct.int
sizeof()
Returnssizeof(struct)
.long
systemId()
int
type()
type
(int value) Sets the specified value to thetype
field.Sets theTYPE_SYSTEM_PROPERTIES
value to thetype
field.int
vendorId()
Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
TYPE
public static final int TYPEThe struct member offsets. -
NEXT
public static final int NEXTThe struct member offsets. -
SYSTEMID
public static final int SYSTEMIDThe struct member offsets. -
VENDORID
public static final int VENDORIDThe struct member offsets. -
SYSTEMNAME
public static final int SYSTEMNAMEThe struct member offsets. -
GRAPHICSPROPERTIES
public static final int GRAPHICSPROPERTIESThe struct member offsets. -
TRACKINGPROPERTIES
public static final int TRACKINGPROPERTIESThe struct member offsets.
-
-
Constructor Details
-
XrSystemProperties
Creates aXrSystemProperties
instance at the current position of the specifiedByteBuffer
container. Changes to the buffer's content will be visible to the struct instance and vice versa.The created instance holds a strong reference to the container object.
-
-
Method Details
-
sizeof
public int sizeof()Description copied from class:Struct
Returnssizeof(struct)
.- Specified by:
sizeof
in classStruct<XrSystemProperties>
-
type
public int type()- Returns:
- the value of the
type
field.
-
next
public long next()- Returns:
- the value of the
next
field.
-
systemId
public long systemId()- Returns:
- the value of the
systemId
field.
-
vendorId
public int vendorId()- Returns:
- the value of the
vendorId
field.
-
systemName
- Returns:
- a
ByteBuffer
view of thesystemName
field.
-
systemNameString
- Returns:
- the null-terminated string stored in the
systemName
field.
-
graphicsProperties
- Returns:
- a
XrSystemGraphicsProperties
view of thegraphicsProperties
field.
-
trackingProperties
- Returns:
- a
XrSystemTrackingProperties
view of thetrackingProperties
field.
-
type
Sets the specified value to thetype
field. -
type$Default
Sets theTYPE_SYSTEM_PROPERTIES
value to thetype
field. -
next
Sets the specified value to thenext
field. -
next
Prepends the specifiedXrSystemAnchorPropertiesHTC
value to thenext
chain. -
next
Prepends the specifiedXrSystemBodyTrackingPropertiesBD
value to thenext
chain. -
next
Prepends the specifiedXrSystemBodyTrackingPropertiesFB
value to thenext
chain. -
next
Prepends the specifiedXrSystemBodyTrackingPropertiesHTC
value to thenext
chain. -
next
Prepends the specifiedXrSystemColocationDiscoveryPropertiesMETA
value to thenext
chain. -
next
Prepends the specifiedXrSystemColorSpacePropertiesFB
value to thenext
chain. -
next
Prepends the specifiedXrSystemEnvironmentDepthPropertiesMETA
value to thenext
chain. -
next
Prepends the specifiedXrSystemEyeGazeInteractionPropertiesEXT
value to thenext
chain. -
next
Prepends the specifiedXrSystemEyeTrackingPropertiesFB
value to thenext
chain. -
next
Prepends the specifiedXrSystemFaceTrackingProperties2FB
value to thenext
chain. -
next
Prepends the specifiedXrSystemFaceTrackingPropertiesFB
value to thenext
chain. -
next
Prepends the specifiedXrSystemFacialExpressionPropertiesML
value to thenext
chain. -
next
Prepends the specifiedXrSystemFacialTrackingPropertiesHTC
value to thenext
chain. -
next
Prepends the specifiedXrSystemForceFeedbackCurlPropertiesMNDX
value to thenext
chain. -
next
Prepends the specifiedXrSystemFoveatedRenderingPropertiesVARJO
value to thenext
chain. -
next
Prepends the specifiedXrSystemFoveationEyeTrackedPropertiesMETA
value to thenext
chain. -
next
Prepends the specifiedXrSystemHandTrackingMeshPropertiesMSFT
value to thenext
chain. -
next
Prepends the specifiedXrSystemHandTrackingPropertiesEXT
value to thenext
chain. -
next
Prepends the specifiedXrSystemHeadsetIdPropertiesMETA
value to thenext
chain. -
next
Prepends the specifiedXrSystemKeyboardTrackingPropertiesFB
value to thenext
chain. -
next
Prepends the specifiedXrSystemMarkerTrackingPropertiesVARJO
value to thenext
chain. -
next
Prepends the specifiedXrSystemMarkerUnderstandingPropertiesML
value to thenext
chain. -
next
Prepends the specifiedXrSystemPassthroughColorLutPropertiesMETA
value to thenext
chain. -
next
Prepends the specifiedXrSystemPassthroughProperties2FB
value to thenext
chain. -
next
Prepends the specifiedXrSystemPassthroughPropertiesFB
value to thenext
chain. -
next
Prepends the specifiedXrSystemPlaneDetectionPropertiesEXT
value to thenext
chain. -
next
Prepends the specifiedXrSystemPropertiesBodyTrackingFullBodyMETA
value to thenext
chain. -
next
Prepends the specifiedXrSystemRenderModelPropertiesFB
value to thenext
chain. -
next
Prepends the specifiedXrSystemSimultaneousHandsAndControllersPropertiesMETA
value to thenext
chain. -
next
Prepends the specifiedXrSystemSpaceWarpPropertiesFB
value to thenext
chain. -
next
Prepends the specifiedXrSystemSpatialAnchorPropertiesBD
value to thenext
chain. -
next
Prepends the specifiedXrSystemSpatialAnchorSharingPropertiesBD
value to thenext
chain. -
next
Prepends the specifiedXrSystemSpatialEntityGroupSharingPropertiesMETA
value to thenext
chain. -
next
Prepends the specifiedXrSystemSpatialEntityPropertiesFB
value to thenext
chain. -
next
Prepends the specifiedXrSystemSpatialEntitySharingPropertiesMETA
value to thenext
chain. -
next
Prepends the specifiedXrSystemSpatialMeshPropertiesBD
value to thenext
chain. -
next
Prepends the specifiedXrSystemSpatialScenePropertiesBD
value to thenext
chain. -
next
Prepends the specifiedXrSystemSpatialSensingPropertiesBD
value to thenext
chain. -
next
Prepends the specifiedXrSystemUserPresencePropertiesEXT
value to thenext
chain. -
next
Prepends the specifiedXrSystemVirtualKeyboardPropertiesMETA
value to thenext
chain. -
set
Initializes this struct with the specified values. -
set
Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
Returns a newXrSystemProperties
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newXrSystemProperties
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newXrSystemProperties
instance allocated withBufferUtils
. -
create
Returns a newXrSystemProperties
instance for the specified memory address. -
createSafe
-
malloc
Returns a newXrSystemProperties.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newXrSystemProperties.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newXrSystemProperties.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create aXrSystemProperties.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
-
malloc
Returns a newXrSystemProperties
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newXrSystemProperties
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
Returns a newXrSystemProperties.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
Returns a newXrSystemProperties.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
ntype
public static int ntype(long struct) Unsafe version oftype()
. -
nnext
public static long nnext(long struct) Unsafe version ofnext()
. -
nsystemId
public static long nsystemId(long struct) Unsafe version ofsystemId()
. -
nvendorId
public static int nvendorId(long struct) Unsafe version ofvendorId()
. -
nsystemName
Unsafe version ofsystemName()
. -
nsystemNameString
Unsafe version ofsystemNameString()
. -
ngraphicsProperties
Unsafe version ofgraphicsProperties()
. -
ntrackingProperties
Unsafe version oftrackingProperties()
. -
ntype
public static void ntype(long struct, int value) Unsafe version oftype
. -
nnext
public static void nnext(long struct, long value) Unsafe version ofnext
.
-