Package org.lwjgl.openxr
Class XrSystemMarkerTrackingPropertiesVARJO
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.openxr.XrSystemMarkerTrackingPropertiesVARJO
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class XrSystemMarkerTrackingPropertiesVARJO extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceSystem property for marker tracking.Description
An application may inspect whether the system is capable of marker tracking by chaining an
XrSystemMarkerTrackingPropertiesVARJOstructure to theXrSystemPropertiesstructure when callingGetSystemProperties.The runtime should return
TRUEforsupportsMarkerTrackingwhen marker tracking is available in the system, otherwiseFALSE. Marker tracking calls must returnERROR_FEATURE_UNSUPPORTEDif marker tracking is not available in the system.Valid Usage (Implicit)
- The
XR_VARJO_marker_trackingextension must be enabled prior to usingXrSystemMarkerTrackingPropertiesVARJO typemust beTYPE_SYSTEM_MARKER_TRACKING_PROPERTIES_VARJOnextmust beNULLor a valid pointer to the next structure in a structure chain
See Also
XrSystemProperties,GetSystemPropertiesLayout
struct XrSystemMarkerTrackingPropertiesVARJO { XrStructureTypetype(); void *next(); XrBool32supportsMarkerTracking(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classXrSystemMarkerTrackingPropertiesVARJO.BufferAn array ofXrSystemMarkerTrackingPropertiesVARJOstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intNEXTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSUPPORTSMARKERTRACKING
TYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description XrSystemMarkerTrackingPropertiesVARJO(java.nio.ByteBuffer container)Creates aXrSystemMarkerTrackingPropertiesVARJOinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static XrSystemMarkerTrackingPropertiesVARJOcalloc()Returns a newXrSystemMarkerTrackingPropertiesVARJOinstance allocated withmemCalloc.static XrSystemMarkerTrackingPropertiesVARJO.Buffercalloc(int capacity)Returns a newXrSystemMarkerTrackingPropertiesVARJO.Bufferinstance allocated withmemCalloc.static XrSystemMarkerTrackingPropertiesVARJO.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newXrSystemMarkerTrackingPropertiesVARJO.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static XrSystemMarkerTrackingPropertiesVARJOcalloc(org.lwjgl.system.MemoryStack stack)Returns a newXrSystemMarkerTrackingPropertiesVARJOinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static XrSystemMarkerTrackingPropertiesVARJOcreate()Returns a newXrSystemMarkerTrackingPropertiesVARJOinstance allocated withBufferUtils.static XrSystemMarkerTrackingPropertiesVARJO.Buffercreate(int capacity)Returns a newXrSystemMarkerTrackingPropertiesVARJO.Bufferinstance allocated withBufferUtils.static XrSystemMarkerTrackingPropertiesVARJOcreate(long address)Returns a newXrSystemMarkerTrackingPropertiesVARJOinstance for the specified memory address.static XrSystemMarkerTrackingPropertiesVARJO.Buffercreate(long address, int capacity)Create aXrSystemMarkerTrackingPropertiesVARJO.Bufferinstance at the specified memory.static XrSystemMarkerTrackingPropertiesVARJOcreateSafe(long address)static XrSystemMarkerTrackingPropertiesVARJO.BuffercreateSafe(long address, int capacity)static XrSystemMarkerTrackingPropertiesVARJOmalloc()Returns a newXrSystemMarkerTrackingPropertiesVARJOinstance allocated withmemAlloc.static XrSystemMarkerTrackingPropertiesVARJO.Buffermalloc(int capacity)Returns a newXrSystemMarkerTrackingPropertiesVARJO.Bufferinstance allocated withmemAlloc.static XrSystemMarkerTrackingPropertiesVARJO.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newXrSystemMarkerTrackingPropertiesVARJO.Bufferinstance allocated on the specifiedMemoryStack.static XrSystemMarkerTrackingPropertiesVARJOmalloc(org.lwjgl.system.MemoryStack stack)Returns a newXrSystemMarkerTrackingPropertiesVARJOinstance allocated on the specifiedMemoryStack.longnext()NULLor a pointer to the next structure in a structure chain.XrSystemMarkerTrackingPropertiesVARJOnext(long value)Sets the specified value to thenext()field.static longnnext(long struct)Unsafe version ofnext().static voidnnext(long struct, long value)Unsafe version ofnext.static intnsupportsMarkerTracking(long struct)Unsafe version ofsupportsMarkerTracking().static voidnsupportsMarkerTracking(long struct, int value)Unsafe version ofsupportsMarkerTracking.static intntype(long struct)Unsafe version oftype().static voidntype(long struct, int value)Unsafe version oftype.XrSystemMarkerTrackingPropertiesVARJOset(int type, long next, boolean supportsMarkerTracking)Initializes this struct with the specified values.XrSystemMarkerTrackingPropertiesVARJOset(XrSystemMarkerTrackingPropertiesVARJO src)Copies the specified struct data to this struct.intsizeof()booleansupportsMarkerTracking()anXrBool32, indicating if current system is capable of performing marker tracking.XrSystemMarkerTrackingPropertiesVARJOsupportsMarkerTracking(boolean value)Sets the specified value to thesupportsMarkerTracking()field.inttype()theXrStructureTypeof this structure.XrSystemMarkerTrackingPropertiesVARJOtype(int value)Sets the specified value to thetype()field.XrSystemMarkerTrackingPropertiesVARJOtype$Default()Sets theTYPE_SYSTEM_MARKER_TRACKING_PROPERTIES_VARJOvalue to thetype()field.
-
-
-
Constructor Detail
-
XrSystemMarkerTrackingPropertiesVARJO
public XrSystemMarkerTrackingPropertiesVARJO(java.nio.ByteBuffer container)
Creates aXrSystemMarkerTrackingPropertiesVARJOinstance 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 Detail
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
type
public int type()
theXrStructureTypeof this structure.
-
next
public long next()
NULLor a pointer to the next structure in a structure chain.
-
supportsMarkerTracking
public boolean supportsMarkerTracking()
anXrBool32, indicating if current system is capable of performing marker tracking.
-
type
public XrSystemMarkerTrackingPropertiesVARJO type(int value)
Sets the specified value to thetype()field.
-
type$Default
public XrSystemMarkerTrackingPropertiesVARJO type$Default()
Sets theTYPE_SYSTEM_MARKER_TRACKING_PROPERTIES_VARJOvalue to thetype()field.
-
next
public XrSystemMarkerTrackingPropertiesVARJO next(long value)
Sets the specified value to thenext()field.
-
supportsMarkerTracking
public XrSystemMarkerTrackingPropertiesVARJO supportsMarkerTracking(boolean value)
Sets the specified value to thesupportsMarkerTracking()field.
-
set
public XrSystemMarkerTrackingPropertiesVARJO set(int type, long next, boolean supportsMarkerTracking)
Initializes this struct with the specified values.
-
set
public XrSystemMarkerTrackingPropertiesVARJO set(XrSystemMarkerTrackingPropertiesVARJO src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static XrSystemMarkerTrackingPropertiesVARJO malloc()
Returns a newXrSystemMarkerTrackingPropertiesVARJOinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static XrSystemMarkerTrackingPropertiesVARJO calloc()
Returns a newXrSystemMarkerTrackingPropertiesVARJOinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static XrSystemMarkerTrackingPropertiesVARJO create()
Returns a newXrSystemMarkerTrackingPropertiesVARJOinstance allocated withBufferUtils.
-
create
public static XrSystemMarkerTrackingPropertiesVARJO create(long address)
Returns a newXrSystemMarkerTrackingPropertiesVARJOinstance for the specified memory address.
-
createSafe
@Nullable public static XrSystemMarkerTrackingPropertiesVARJO createSafe(long address)
-
malloc
public static XrSystemMarkerTrackingPropertiesVARJO.Buffer malloc(int capacity)
Returns a newXrSystemMarkerTrackingPropertiesVARJO.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static XrSystemMarkerTrackingPropertiesVARJO.Buffer calloc(int capacity)
Returns a newXrSystemMarkerTrackingPropertiesVARJO.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static XrSystemMarkerTrackingPropertiesVARJO.Buffer create(int capacity)
Returns a newXrSystemMarkerTrackingPropertiesVARJO.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static XrSystemMarkerTrackingPropertiesVARJO.Buffer create(long address, int capacity)
Create aXrSystemMarkerTrackingPropertiesVARJO.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static XrSystemMarkerTrackingPropertiesVARJO.Buffer createSafe(long address, int capacity)
-
malloc
public static XrSystemMarkerTrackingPropertiesVARJO malloc(org.lwjgl.system.MemoryStack stack)
Returns a newXrSystemMarkerTrackingPropertiesVARJOinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static XrSystemMarkerTrackingPropertiesVARJO calloc(org.lwjgl.system.MemoryStack stack)
Returns a newXrSystemMarkerTrackingPropertiesVARJOinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static XrSystemMarkerTrackingPropertiesVARJO.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newXrSystemMarkerTrackingPropertiesVARJO.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static XrSystemMarkerTrackingPropertiesVARJO.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newXrSystemMarkerTrackingPropertiesVARJO.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
ntype
public static int ntype(long struct)
Unsafe version oftype().
-
nnext
public static long nnext(long struct)
Unsafe version ofnext().
-
nsupportsMarkerTracking
public static int nsupportsMarkerTracking(long struct)
Unsafe version ofsupportsMarkerTracking().
-
ntype
public static void ntype(long struct, int value)Unsafe version oftype.
-
nnext
public static void nnext(long struct, long value)Unsafe version ofnext.
-
nsupportsMarkerTracking
public static void nsupportsMarkerTracking(long struct, int value)Unsafe version ofsupportsMarkerTracking.
-
-