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];
XrSystemGraphicsProperties graphicsProperties;
XrSystemTrackingProperties trackingProperties;
}-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
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, MemoryStack stack) Returns a newXrSystemProperties.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static XrSystemPropertiescalloc(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) static XrSystemPropertiesmalloc()Returns a newXrSystemPropertiesinstance allocated withmemAlloc.static XrSystemProperties.Buffermalloc(int capacity) Returns a newXrSystemProperties.Bufferinstance allocated withmemAlloc.static XrSystemProperties.Buffermalloc(int capacity, MemoryStack stack) Returns a newXrSystemProperties.Bufferinstance allocated on the specifiedMemoryStack.static XrSystemPropertiesmalloc(MemoryStack stack) Returns a newXrSystemPropertiesinstance allocated on the specifiedMemoryStack.longnext()next(long value) Sets the specified value to thenextfield.next(XrSystemAnchorPropertiesHTC value) Prepends the specifiedXrSystemAnchorPropertiesHTCvalue to thenextchain.Prepends the specifiedXrSystemAnchorSharingExportPropertiesANDROIDvalue to thenextchain.Prepends the specifiedXrSystemBodyTrackingPropertiesBDvalue to thenextchain.Prepends the specifiedXrSystemBodyTrackingPropertiesFBvalue to thenextchain.Prepends the specifiedXrSystemBodyTrackingPropertiesHTCvalue to thenextchain.Prepends the specifiedXrSystemColocationDiscoveryPropertiesMETAvalue to thenextchain.Prepends the specifiedXrSystemColorSpacePropertiesFBvalue to thenextchain.Prepends the specifiedXrSystemDeviceAnchorPersistencePropertiesANDROIDvalue to thenextchain.Prepends the specifiedXrSystemEnvironmentDepthPropertiesMETAvalue to thenextchain.Prepends the specifiedXrSystemEyeGazeInteractionPropertiesEXTvalue to thenextchain.Prepends the specifiedXrSystemEyeTrackingPropertiesFBvalue to thenextchain.Prepends the specifiedXrSystemFaceTrackingProperties2FBvalue to thenextchain.Prepends the specifiedXrSystemFaceTrackingPropertiesANDROIDvalue to thenextchain.Prepends the specifiedXrSystemFaceTrackingPropertiesFBvalue to thenextchain.Prepends the specifiedXrSystemFacialExpressionPropertiesMLvalue to thenextchain.Prepends the specifiedXrSystemFacialSimulationPropertiesBDvalue 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 specifiedXrSystemMarkerTrackingPropertiesANDROIDvalue to thenextchain.Prepends the specifiedXrSystemMarkerTrackingPropertiesVARJOvalue to thenextchain.Prepends the specifiedXrSystemMarkerUnderstandingPropertiesMLvalue to thenextchain.Prepends the specifiedXrSystemPassthroughCameraStatePropertiesANDROIDvalue to thenextchain.Prepends the specifiedXrSystemPassthroughColorLutPropertiesMETAvalue to thenextchain.Prepends the specifiedXrSystemPassthroughProperties2FBvalue to thenextchain.Prepends the specifiedXrSystemPassthroughPropertiesFBvalue to thenextchain.Prepends the specifiedXrSystemPlaneDetectionPropertiesEXTvalue to thenextchain.Prepends the specifiedXrSystemPropertiesBodyTrackingCalibrationMETAvalue to thenextchain.Prepends the specifiedXrSystemPropertiesBodyTrackingFullBodyMETAvalue to thenextchain.Prepends the specifiedXrSystemRenderModelPropertiesFBvalue to thenextchain.Prepends the specifiedXrSystemSimultaneousHandsAndControllersPropertiesMETAvalue to thenextchain.Prepends the specifiedXrSystemSpaceDiscoveryPropertiesMETAvalue to thenextchain.Prepends the specifiedXrSystemSpacePersistencePropertiesMETAvalue to thenextchain.Prepends the specifiedXrSystemSpaceWarpPropertiesFBvalue to thenextchain.Prepends the specifiedXrSystemSpatialAnchorPropertiesBDvalue to thenextchain.Prepends the specifiedXrSystemSpatialAnchorSharingPropertiesBDvalue to thenextchain.Prepends the specifiedXrSystemSpatialEntityGroupSharingPropertiesMETAvalue to thenextchain.Prepends the specifiedXrSystemSpatialEntityPropertiesFBvalue to thenextchain.Prepends the specifiedXrSystemSpatialEntitySharingPropertiesMETAvalue to thenextchain.Prepends the specifiedXrSystemSpatialMeshPropertiesBDvalue to thenextchain.Prepends the specifiedXrSystemSpatialPlanePropertiesBDvalue to thenextchain.Prepends the specifiedXrSystemSpatialScenePropertiesBDvalue to thenextchain.Prepends the specifiedXrSystemSpatialSensingPropertiesBDvalue to thenextchain.Prepends the specifiedXrSystemTrackablesPropertiesANDROIDvalue 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()Returnssizeof(struct).longsystemId()inttype()type(int value) Sets the specified value to thetypefield.Sets theTYPE_SYSTEM_PROPERTIESvalue to thetypefield.intvendorId()Methods 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()Description copied from class:StructReturnssizeof(struct).- Specified by:
sizeofin classStruct<XrSystemProperties>
-
type
public int type()- Returns:
- the value of the
typefield.
-
next
public long next()- Returns:
- the value of the
nextfield.
-
systemId
public long systemId()- Returns:
- the value of the
systemIdfield.
-
vendorId
public int vendorId()- Returns:
- the value of the
vendorIdfield.
-
systemName
- Returns:
- a
ByteBufferview of thesystemNamefield.
-
systemNameString
- Returns:
- the null-terminated string stored in the
systemNamefield.
-
graphicsProperties
- Returns:
- a
XrSystemGraphicsPropertiesview of thegraphicsPropertiesfield.
-
trackingProperties
- Returns:
- a
XrSystemTrackingPropertiesview of thetrackingPropertiesfield.
-
type
Sets the specified value to thetypefield. -
type$Default
Sets theTYPE_SYSTEM_PROPERTIESvalue to thetypefield. -
next
Sets the specified value to thenextfield. -
next
Prepends the specifiedXrSystemAnchorPropertiesHTCvalue to thenextchain. -
next
Prepends the specifiedXrSystemAnchorSharingExportPropertiesANDROIDvalue to thenextchain. -
next
Prepends the specifiedXrSystemBodyTrackingPropertiesBDvalue 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 specifiedXrSystemDeviceAnchorPersistencePropertiesANDROIDvalue 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 specifiedXrSystemFaceTrackingPropertiesANDROIDvalue to thenextchain. -
next
Prepends the specifiedXrSystemFaceTrackingPropertiesFBvalue to thenextchain. -
next
Prepends the specifiedXrSystemFacialExpressionPropertiesMLvalue to thenextchain. -
next
Prepends the specifiedXrSystemFacialSimulationPropertiesBDvalue 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 specifiedXrSystemMarkerTrackingPropertiesANDROIDvalue to thenextchain. -
next
Prepends the specifiedXrSystemMarkerTrackingPropertiesVARJOvalue to thenextchain. -
next
Prepends the specifiedXrSystemMarkerUnderstandingPropertiesMLvalue to thenextchain. -
next
Prepends the specifiedXrSystemPassthroughCameraStatePropertiesANDROIDvalue 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 specifiedXrSystemPropertiesBodyTrackingCalibrationMETAvalue to thenextchain. -
next
Prepends the specifiedXrSystemPropertiesBodyTrackingFullBodyMETAvalue to thenextchain. -
next
Prepends the specifiedXrSystemRenderModelPropertiesFBvalue to thenextchain. -
next
Prepends the specifiedXrSystemSimultaneousHandsAndControllersPropertiesMETAvalue to thenextchain. -
next
Prepends the specifiedXrSystemSpaceDiscoveryPropertiesMETAvalue to thenextchain. -
next
Prepends the specifiedXrSystemSpacePersistencePropertiesMETAvalue to thenextchain. -
next
Prepends the specifiedXrSystemSpaceWarpPropertiesFBvalue to thenextchain. -
next
Prepends the specifiedXrSystemSpatialAnchorPropertiesBDvalue to thenextchain. -
next
Prepends the specifiedXrSystemSpatialAnchorSharingPropertiesBDvalue to thenextchain. -
next
Prepends the specifiedXrSystemSpatialEntityGroupSharingPropertiesMETAvalue to thenextchain. -
next
Prepends the specifiedXrSystemSpatialEntityPropertiesFBvalue to thenextchain. -
next
Prepends the specifiedXrSystemSpatialEntitySharingPropertiesMETAvalue to thenextchain. -
next
Prepends the specifiedXrSystemSpatialMeshPropertiesBDvalue to thenextchain. -
next
Prepends the specifiedXrSystemSpatialPlanePropertiesBDvalue to thenextchain. -
next
Prepends the specifiedXrSystemSpatialScenePropertiesBDvalue to thenextchain. -
next
Prepends the specifiedXrSystemSpatialSensingPropertiesBDvalue to thenextchain. -
next
Prepends the specifiedXrSystemTrackablesPropertiesANDROIDvalue 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.
-