Top Description Inners Fields Constructors Methods
org.lwjgl.openxr

public Class XrSystemProperties

extends Struct<XrSystemProperties>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

Properties of a particular system.
Valid Usage (Implicit)
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 and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
GRAPHICSPROPERTIES

The struct member offsets.

public static final int
NEXT

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
SYSTEMID

The struct member offsets.

public static final int
SYSTEMNAME

The struct member offsets.

public static final int
TRACKINGPROPERTIES

The struct member offsets.

public static final int
TYPE

The struct member offsets.

public static final int
VENDORID

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
XrSystemProperties(long address, ByteBuffer container)

public
XrSystemProperties(ByteBuffer container)

Creates a XrSystemProperties instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
public static XrSystemProperties
calloc()

Returns a new XrSystemProperties instance allocated with memCalloc.

public static XrSystemProperties.Buffer
calloc(int
the buffer capacity
capacity
)

Returns a new XrSystemProperties.Buffer instance allocated with memCalloc.

public static XrSystemProperties
calloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new XrSystemProperties instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static XrSystemProperties.Buffer
calloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new XrSystemProperties.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

protected XrSystemProperties
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Implements abstract org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static XrSystemProperties
create()

Returns a new XrSystemProperties instance allocated with BufferUtils.

public static XrSystemProperties
create(long address)

Returns a new XrSystemProperties instance for the specified memory address.

public static XrSystemProperties.Buffer
create(int
the buffer capacity
capacity
)

Returns a new XrSystemProperties.Buffer instance allocated with BufferUtils.

public static XrSystemProperties.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a XrSystemProperties.Buffer instance at the specified memory.

public static XrSystemProperties
createSafe(long address)

Like create, but returns null if address is NULL.

public static XrSystemProperties.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public XrSystemGraphicsProperties
graphicsProperties()

an XrSystemGraphicsProperties structure specifying the system graphics properties.

public static XrSystemProperties
malloc()

Returns a new XrSystemProperties instance allocated with memAlloc.

public static XrSystemProperties.Buffer
malloc(int
the buffer capacity
capacity
)

Returns a new XrSystemProperties.Buffer instance allocated with memAlloc.

public static XrSystemProperties
malloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new XrSystemProperties instance allocated on the specified MemoryStack.

public static XrSystemProperties.Buffer
malloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new XrSystemProperties.Buffer instance allocated on the specified MemoryStack.

public long
next()

NULL or a pointer to the next structure in a structure chain.

public XrSystemProperties
next(long value)

Sets the specified value to the next field.

public XrSystemProperties
next(XrRenderModelCapabilitiesRequestFB value)

Prepends the specified XrRenderModelCapabilitiesRequestFB value to the next chain.

public XrSystemProperties
next(XrSystemBodyTrackingPropertiesFB value)

Prepends the specified XrSystemBodyTrackingPropertiesFB value to the next chain.

public XrSystemProperties
next(XrSystemColorSpacePropertiesFB value)

Prepends the specified XrSystemColorSpacePropertiesFB value to the next chain.

public XrSystemProperties
next(XrSystemEyeGazeInteractionPropertiesEXT value)

Prepends the specified XrSystemEyeGazeInteractionPropertiesEXT value to the next chain.

public XrSystemProperties
next(XrSystemEyeTrackingPropertiesFB value)

Prepends the specified XrSystemEyeTrackingPropertiesFB value to the next chain.

public XrSystemProperties
next(XrSystemFaceTrackingPropertiesFB value)

Prepends the specified XrSystemFaceTrackingPropertiesFB value to the next chain.

public XrSystemProperties
next(XrSystemFacialTrackingPropertiesHTC value)

Prepends the specified XrSystemFacialTrackingPropertiesHTC value to the next chain.

public XrSystemProperties
next(XrSystemForceFeedbackCurlPropertiesMNDX value)

Prepends the specified XrSystemForceFeedbackCurlPropertiesMNDX value to the next chain.

public XrSystemProperties
next(XrSystemFoveatedRenderingPropertiesVARJO value)

Prepends the specified XrSystemFoveatedRenderingPropertiesVARJO value to the next chain.

public XrSystemProperties
public XrSystemProperties
next(XrSystemHandTrackingMeshPropertiesMSFT value)

Prepends the specified XrSystemHandTrackingMeshPropertiesMSFT value to the next chain.

public XrSystemProperties
next(XrSystemHandTrackingPropertiesEXT value)

Prepends the specified XrSystemHandTrackingPropertiesEXT value to the next chain.

public XrSystemProperties
next(XrSystemHeadsetIdPropertiesMETA value)

Prepends the specified XrSystemHeadsetIdPropertiesMETA value to the next chain.

public XrSystemProperties
next(XrSystemKeyboardTrackingPropertiesFB value)

Prepends the specified XrSystemKeyboardTrackingPropertiesFB value to the next chain.

public XrSystemProperties
next(XrSystemMarkerTrackingPropertiesVARJO value)

Prepends the specified XrSystemMarkerTrackingPropertiesVARJO value to the next chain.

public XrSystemProperties
public XrSystemProperties
next(XrSystemPassthroughProperties2FB value)

Prepends the specified XrSystemPassthroughProperties2FB value to the next chain.

public XrSystemProperties
next(XrSystemPassthroughPropertiesFB value)

Prepends the specified XrSystemPassthroughPropertiesFB value to the next chain.

public XrSystemProperties
next(XrSystemPlaneDetectionPropertiesEXT value)

Prepends the specified XrSystemPlaneDetectionPropertiesEXT value to the next chain.

public XrSystemProperties
next(XrSystemRenderModelPropertiesFB value)

Prepends the specified XrSystemRenderModelPropertiesFB value to the next chain.

public XrSystemProperties
next(XrSystemSpaceWarpPropertiesFB value)

Prepends the specified XrSystemSpaceWarpPropertiesFB value to the next chain.

public XrSystemProperties
next(XrSystemSpatialEntityPropertiesFB value)

Prepends the specified XrSystemSpatialEntityPropertiesFB value to the next chain.

public XrSystemProperties
next(XrSystemVirtualKeyboardPropertiesMETA value)

Prepends the specified XrSystemVirtualKeyboardPropertiesMETA value to the next chain.

public static XrSystemGraphicsProperties
ngraphicsProperties(long struct)

Unsafe version of graphicsProperties.

public static long
nnext(long struct)

Unsafe version of next.

public static void
nnext(long struct, long value)

Unsafe version of next.

public static long
nsystemId(long struct)

Unsafe version of systemId.

public static ByteBuffer
nsystemName(long struct)

Unsafe version of systemName.

public static String
nsystemNameString(long struct)

Unsafe version of systemNameString.

public static XrSystemTrackingProperties
ntrackingProperties(long struct)

Unsafe version of trackingProperties.

public static int
ntype(long struct)

Unsafe version of type.

public static void
ntype(long struct, int value)

Unsafe version of type.

public static int
nvendorId(long struct)

Unsafe version of vendorId.

public XrSystemProperties
set(int type, long next)

Initializes this struct with the specified values.

public XrSystemProperties

Returns:

this struct
set
(XrSystemProperties
the source struct
src
)

Copies the specified struct data to this struct.

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
public long
systemId()

the XrSystemId identifying the system.

public ByteBuffer
systemName()

a string containing the name of the system.

public String
systemNameString()

a string containing the name of the system.

public XrSystemTrackingProperties
trackingProperties()

an XrSystemTrackingProperties structure specifying system tracking properties.

public int
type()

the XrStructureType of this structure.

public XrSystemProperties
type(int value)

Sets the specified value to the type field.

public XrSystemProperties
type$Default()

Sets the TYPE_SYSTEM_PROPERTIES value to the type field.

public int
vendorId()

a unique identifier for the vendor of the system.

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate