Package org.lwjgl.openxr
Class XrSystemProperties
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<XrSystemProperties>
org.lwjgl.openxr.XrSystemProperties
- All Implemented Interfaces:
AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class XrSystemProperties
extends org.lwjgl.system.Struct<XrSystemProperties>
implements org.lwjgl.system.NativeResource
Properties of a particular system.
Valid Usage (Implicit)
typemust beTYPE_SYSTEM_PROPERTIESnextmust beNULLor a valid pointer to the next structure in a structure chain. See also:XrSystemAnchorPropertiesHTC,XrSystemBodyTrackingPropertiesFB,XrSystemBodyTrackingPropertiesHTC,XrSystemColocationDiscoveryPropertiesMETA,XrSystemColorSpacePropertiesFB,XrSystemEnvironmentDepthPropertiesMETA,XrSystemEyeGazeInteractionPropertiesEXT,XrSystemEyeTrackingPropertiesFB,XrSystemFaceTrackingProperties2FB,XrSystemFaceTrackingPropertiesFB,XrSystemFacialExpressionPropertiesML,XrSystemFacialTrackingPropertiesHTC,XrSystemForceFeedbackCurlPropertiesMNDX,XrSystemFoveatedRenderingPropertiesVARJO,XrSystemFoveationEyeTrackedPropertiesMETA,XrSystemHandTrackingMeshPropertiesMSFT,XrSystemHandTrackingPropertiesEXT,XrSystemHeadsetIdPropertiesMETA,XrSystemKeyboardTrackingPropertiesFB,XrSystemMarkerTrackingPropertiesVARJO,XrSystemMarkerUnderstandingPropertiesML,XrSystemPassthroughColorLutPropertiesMETA,XrSystemPassthroughProperties2FB,XrSystemPassthroughPropertiesFB,XrSystemPlaneDetectionPropertiesEXT,XrSystemRenderModelPropertiesFB,XrSystemSpaceWarpPropertiesFB,XrSystemSpatialEntityGroupSharingPropertiesMETA,XrSystemSpatialEntityPropertiesFB,XrSystemSpatialEntitySharingPropertiesMETA,XrSystemUserPresencePropertiesEXT,XrSystemVirtualKeyboardPropertiesMETA
See Also
XrSystemGraphicsProperties, XrSystemTrackingProperties, GetSystem, GetSystemProperties
Layout
struct XrSystemProperties {
XrStructureType type();
void * next();
XrSystemId systemId();
uint32_t vendorId();
char systemName()[XR_MAX_SYSTEM_NAME_SIZE];
XrSystemGraphicsProperties graphicsProperties();
XrSystemTrackingProperties trackingProperties();
}-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
org.lwjgl.system.Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
org.lwjgl.system.Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe 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 aXrSystemPropertiesinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionstatic XrSystemPropertiescalloc()Returns a newXrSystemPropertiesinstance allocated withmemCalloc.static XrSystemProperties.Buffercalloc(int capacity) Returns a newXrSystemProperties.Bufferinstance allocated withmemCalloc.static XrSystemProperties.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newXrSystemProperties.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static XrSystemPropertiescalloc(org.lwjgl.system.MemoryStack stack) Returns a newXrSystemPropertiesinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static XrSystemPropertiescreate()Returns a newXrSystemPropertiesinstance allocated withBufferUtils.static XrSystemProperties.Buffercreate(int capacity) Returns a newXrSystemProperties.Bufferinstance allocated withBufferUtils.static XrSystemPropertiescreate(long address) Returns a newXrSystemPropertiesinstance for the specified memory address.static XrSystemProperties.Buffercreate(long address, int capacity) Create aXrSystemProperties.Bufferinstance at the specified memory.static @Nullable XrSystemPropertiescreateSafe(long address) static @Nullable XrSystemProperties.BuffercreateSafe(long address, int capacity) anXrSystemGraphicsPropertiesstructure specifying the system graphics properties.static XrSystemPropertiesmalloc()Returns a newXrSystemPropertiesinstance allocated withmemAlloc.static XrSystemProperties.Buffermalloc(int capacity) Returns a newXrSystemProperties.Bufferinstance allocated withmemAlloc.static XrSystemProperties.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newXrSystemProperties.Bufferinstance allocated on the specifiedMemoryStack.static XrSystemPropertiesmalloc(org.lwjgl.system.MemoryStack stack) Returns a newXrSystemPropertiesinstance allocated on the specifiedMemoryStack.longnext()NULLor a pointer to the next structure in a structure chain.next(long value) Sets the specified value to thenext()field.next(XrSystemAnchorPropertiesHTC value) Prepends the specifiedXrSystemAnchorPropertiesHTCvalue to thenextchain.Prepends the specifiedXrSystemBodyTrackingPropertiesFBvalue to thenextchain.Prepends the specifiedXrSystemBodyTrackingPropertiesHTCvalue to thenextchain.Prepends the specifiedXrSystemColocationDiscoveryPropertiesMETAvalue to thenextchain.Prepends the specifiedXrSystemColorSpacePropertiesFBvalue to thenextchain.Prepends the specifiedXrSystemEnvironmentDepthPropertiesMETAvalue to thenextchain.Prepends the specifiedXrSystemEyeGazeInteractionPropertiesEXTvalue to thenextchain.Prepends the specifiedXrSystemEyeTrackingPropertiesFBvalue to thenextchain.Prepends the specifiedXrSystemFaceTrackingProperties2FBvalue to thenextchain.Prepends the specifiedXrSystemFaceTrackingPropertiesFBvalue to thenextchain.Prepends the specifiedXrSystemFacialExpressionPropertiesMLvalue to thenextchain.Prepends the specifiedXrSystemFacialTrackingPropertiesHTCvalue to thenextchain.Prepends the specifiedXrSystemForceFeedbackCurlPropertiesMNDXvalue to thenextchain.Prepends the specifiedXrSystemFoveatedRenderingPropertiesVARJOvalue to thenextchain.Prepends the specifiedXrSystemFoveationEyeTrackedPropertiesMETAvalue to thenextchain.Prepends the specifiedXrSystemHandTrackingMeshPropertiesMSFTvalue to thenextchain.Prepends the specifiedXrSystemHandTrackingPropertiesEXTvalue to thenextchain.Prepends the specifiedXrSystemHeadsetIdPropertiesMETAvalue to thenextchain.Prepends the specifiedXrSystemKeyboardTrackingPropertiesFBvalue to thenextchain.Prepends the specifiedXrSystemMarkerTrackingPropertiesVARJOvalue to thenextchain.Prepends the specifiedXrSystemMarkerUnderstandingPropertiesMLvalue to thenextchain.Prepends the specifiedXrSystemPassthroughColorLutPropertiesMETAvalue to thenextchain.Prepends the specifiedXrSystemPassthroughProperties2FBvalue to thenextchain.Prepends the specifiedXrSystemPassthroughPropertiesFBvalue to thenextchain.Prepends the specifiedXrSystemPlaneDetectionPropertiesEXTvalue to thenextchain.Prepends the specifiedXrSystemRenderModelPropertiesFBvalue to thenextchain.Prepends the specifiedXrSystemSpaceWarpPropertiesFBvalue to thenextchain.Prepends the specifiedXrSystemSpatialEntityGroupSharingPropertiesMETAvalue to thenextchain.Prepends the specifiedXrSystemSpatialEntityPropertiesFBvalue to thenextchain.Prepends the specifiedXrSystemSpatialEntitySharingPropertiesMETAvalue to thenextchain.Prepends the specifiedXrSystemUserPresencePropertiesEXTvalue to thenextchain.Prepends the specifiedXrSystemVirtualKeyboardPropertiesMETAvalue to thenextchain.static XrSystemGraphicsPropertiesngraphicsProperties(long struct) Unsafe version ofgraphicsProperties().static longnnext(long struct) Unsafe version ofnext().static voidnnext(long struct, long value) Unsafe version ofnext.static longnsystemId(long struct) Unsafe version ofsystemId().static ByteBuffernsystemName(long struct) Unsafe version ofsystemName().static StringnsystemNameString(long struct) Unsafe version ofsystemNameString().static XrSystemTrackingPropertiesntrackingProperties(long struct) Unsafe version oftrackingProperties().static intntype(long struct) Unsafe version oftype().static voidntype(long struct, int value) Unsafe version oftype.static intnvendorId(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.intsizeof()longsystemId()theXrSystemIdidentifying the system.a string containing the name of the system.a string containing the name of the system.anXrSystemTrackingPropertiesstructure specifying system tracking properties.inttype()theXrStructureTypeof this structure.type(int value) Sets the specified value to thetype()field.Sets theTYPE_SYSTEM_PROPERTIESvalue to thetype()field.intvendorId()a unique identifier for the vendor of the system.Methods inherited from class org.lwjgl.system.Struct
clear, free, isNull, validate, validateMethods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods 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 aXrSystemPropertiesinstance at the current position of the specifiedByteBuffercontainer. 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()- Specified by:
sizeofin classorg.lwjgl.system.Struct<XrSystemProperties>
-
type
public int type()theXrStructureTypeof this structure. -
next
public long next()NULLor a pointer to the next structure in a structure chain. -
systemId
public long systemId()theXrSystemIdidentifying the system. -
vendorId
public int vendorId()a unique identifier for the vendor of the system. -
systemName
a string containing the name of the system. -
systemNameString
a string containing the name of the system. -
graphicsProperties
anXrSystemGraphicsPropertiesstructure specifying the system graphics properties. -
trackingProperties
anXrSystemTrackingPropertiesstructure specifying system tracking properties. -
type
Sets the specified value to thetype()field. -
type$Default
Sets theTYPE_SYSTEM_PROPERTIESvalue to thetype()field. -
next
Sets the specified value to thenext()field. -
next
Prepends the specifiedXrSystemAnchorPropertiesHTCvalue to thenextchain. -
next
Prepends the specifiedXrSystemBodyTrackingPropertiesFBvalue to thenextchain. -
next
Prepends the specifiedXrSystemBodyTrackingPropertiesHTCvalue to thenextchain. -
next
Prepends the specifiedXrSystemColocationDiscoveryPropertiesMETAvalue to thenextchain. -
next
Prepends the specifiedXrSystemColorSpacePropertiesFBvalue to thenextchain. -
next
Prepends the specifiedXrSystemEnvironmentDepthPropertiesMETAvalue to thenextchain. -
next
Prepends the specifiedXrSystemEyeGazeInteractionPropertiesEXTvalue to thenextchain. -
next
Prepends the specifiedXrSystemEyeTrackingPropertiesFBvalue to thenextchain. -
next
Prepends the specifiedXrSystemFaceTrackingProperties2FBvalue to thenextchain. -
next
Prepends the specifiedXrSystemFaceTrackingPropertiesFBvalue to thenextchain. -
next
Prepends the specifiedXrSystemFacialExpressionPropertiesMLvalue to thenextchain. -
next
Prepends the specifiedXrSystemFacialTrackingPropertiesHTCvalue to thenextchain. -
next
Prepends the specifiedXrSystemForceFeedbackCurlPropertiesMNDXvalue to thenextchain. -
next
Prepends the specifiedXrSystemFoveatedRenderingPropertiesVARJOvalue to thenextchain. -
next
Prepends the specifiedXrSystemFoveationEyeTrackedPropertiesMETAvalue to thenextchain. -
next
Prepends the specifiedXrSystemHandTrackingMeshPropertiesMSFTvalue to thenextchain. -
next
Prepends the specifiedXrSystemHandTrackingPropertiesEXTvalue to thenextchain. -
next
Prepends the specifiedXrSystemHeadsetIdPropertiesMETAvalue to thenextchain. -
next
Prepends the specifiedXrSystemKeyboardTrackingPropertiesFBvalue to thenextchain. -
next
Prepends the specifiedXrSystemMarkerTrackingPropertiesVARJOvalue to thenextchain. -
next
Prepends the specifiedXrSystemMarkerUnderstandingPropertiesMLvalue to thenextchain. -
next
Prepends the specifiedXrSystemPassthroughColorLutPropertiesMETAvalue to thenextchain. -
next
Prepends the specifiedXrSystemPassthroughProperties2FBvalue to thenextchain. -
next
Prepends the specifiedXrSystemPassthroughPropertiesFBvalue to thenextchain. -
next
Prepends the specifiedXrSystemPlaneDetectionPropertiesEXTvalue to thenextchain. -
next
Prepends the specifiedXrSystemRenderModelPropertiesFBvalue to thenextchain. -
next
Prepends the specifiedXrSystemSpaceWarpPropertiesFBvalue to thenextchain. -
next
Prepends the specifiedXrSystemSpatialEntityGroupSharingPropertiesMETAvalue to thenextchain. -
next
Prepends the specifiedXrSystemSpatialEntityPropertiesFBvalue to thenextchain. -
next
Prepends the specifiedXrSystemSpatialEntitySharingPropertiesMETAvalue to thenextchain. -
next
Prepends the specifiedXrSystemUserPresencePropertiesEXTvalue to thenextchain. -
next
Prepends the specifiedXrSystemVirtualKeyboardPropertiesMETAvalue to thenextchain. -
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 newXrSystemPropertiesinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newXrSystemPropertiesinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newXrSystemPropertiesinstance allocated withBufferUtils. -
create
Returns a newXrSystemPropertiesinstance for the specified memory address. -
createSafe
-
malloc
Returns a newXrSystemProperties.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newXrSystemProperties.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newXrSystemProperties.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aXrSystemProperties.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
malloc
Returns a newXrSystemPropertiesinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newXrSystemPropertiesinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newXrSystemProperties.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newXrSystemProperties.Bufferinstance allocated on the specifiedMemoryStackand 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.
-