Package org.lwjgl.openxr
Class XrSpaceLocationDataKHR
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<XrSpaceLocationData>
org.lwjgl.openxr.XrSpaceLocationData
org.lwjgl.openxr.XrSpaceLocationDataKHR
- All Implemented Interfaces:
AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
See
XrSpaceLocationData.
Layout
struct XrSpaceLocationDataKHR {
XrSpaceLocationFlags locationFlags;
XrPosef pose;
}-
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
Fields inherited from class org.lwjgl.openxr.XrSpaceLocationData
ALIGNOF, LOCATIONFLAGS, POSE, SIZEOFFields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionXrSpaceLocationDataKHR(ByteBuffer container) Creates aXrSpaceLocationDataKHRinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionstatic XrSpaceLocationDataKHRcalloc()Returns a newXrSpaceLocationDataKHRinstance allocated withmemCalloc.calloc(int capacity) Returns a newXrSpaceLocationDataKHR.Bufferinstance allocated withmemCalloc.calloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newXrSpaceLocationDataKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static XrSpaceLocationDataKHRcalloc(org.lwjgl.system.MemoryStack stack) Returns a newXrSpaceLocationDataKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static XrSpaceLocationDataKHRcreate()Returns a newXrSpaceLocationDataKHRinstance allocated withBufferUtils.create(int capacity) Returns a newXrSpaceLocationDataKHR.Bufferinstance allocated withBufferUtils.static XrSpaceLocationDataKHRcreate(long address) Returns a newXrSpaceLocationDataKHRinstance for the specified memory address.create(long address, int capacity) Create aXrSpaceLocationDataKHR.Bufferinstance at the specified memory.static @Nullable XrSpaceLocationDataKHRcreateSafe(long address) static @Nullable XrSpaceLocationDataKHR.BuffercreateSafe(long address, int capacity) static XrSpaceLocationDataKHRmalloc()Returns a newXrSpaceLocationDataKHRinstance allocated withmemAlloc.malloc(int capacity) Returns a newXrSpaceLocationDataKHR.Bufferinstance allocated withmemAlloc.malloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newXrSpaceLocationDataKHR.Bufferinstance allocated on the specifiedMemoryStack.static XrSpaceLocationDataKHRmalloc(org.lwjgl.system.MemoryStack stack) Returns a newXrSpaceLocationDataKHRinstance allocated on the specifiedMemoryStack.Methods inherited from class org.lwjgl.openxr.XrSpaceLocationData
locationFlags, nlocationFlags, npose, pose, sizeofMethods 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
-
Constructor Details
-
XrSpaceLocationDataKHR
Creates aXrSpaceLocationDataKHRinstance 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
-
malloc
Returns a newXrSpaceLocationDataKHRinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newXrSpaceLocationDataKHRinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newXrSpaceLocationDataKHRinstance allocated withBufferUtils. -
create
Returns a newXrSpaceLocationDataKHRinstance for the specified memory address. -
createSafe
-
malloc
Returns a newXrSpaceLocationDataKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newXrSpaceLocationDataKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newXrSpaceLocationDataKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aXrSpaceLocationDataKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
malloc
Returns a newXrSpaceLocationDataKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newXrSpaceLocationDataKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static XrSpaceLocationDataKHR.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newXrSpaceLocationDataKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
public static XrSpaceLocationDataKHR.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newXrSpaceLocationDataKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-