Package org.lwjgl.openxr
Class XrUuidEXT
- All Implemented Interfaces:
AutoCloseable,NativeResource,Pointer
struct XrUuidEXT {
uint8_t data[XR_UUID_SIZE];
}-
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
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionXrUuidEXT(ByteBuffer container) Creates aXrUuidEXTinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionstatic XrUuidEXTcalloc()Returns a newXrUuidEXTinstance allocated withmemCalloc.static XrUuidEXT.Buffercalloc(int capacity) Returns a newXrUuidEXT.Bufferinstance allocated withmemCalloc.static XrUuidEXT.Buffercalloc(int capacity, MemoryStack stack) Returns a newXrUuidEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static XrUuidEXTcalloc(MemoryStack stack) Returns a newXrUuidEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static XrUuidEXTcreate()Returns a newXrUuidEXTinstance allocated withBufferUtils.static XrUuidEXT.Buffercreate(int capacity) Returns a newXrUuidEXT.Bufferinstance allocated withBufferUtils.static XrUuidEXTcreate(long address) Returns a newXrUuidEXTinstance for the specified memory address.static XrUuidEXT.Buffercreate(long address, int capacity) Create aXrUuidEXT.Bufferinstance at the specified memory.static @Nullable XrUuidEXTcreateSafe(long address) static @Nullable XrUuidEXT.BuffercreateSafe(long address, int capacity) data(int index, byte value) Sets the specified value at the specified index of thedatafield.data(ByteBuffer value) Copies the specifiedByteBufferto thedatafield.static XrUuidEXTmalloc()Returns a newXrUuidEXTinstance allocated withmemAlloc.static XrUuidEXT.Buffermalloc(int capacity) Returns a newXrUuidEXT.Bufferinstance allocated withmemAlloc.static XrUuidEXT.Buffermalloc(int capacity, MemoryStack stack) Returns a newXrUuidEXT.Bufferinstance allocated on the specifiedMemoryStack.static XrUuidEXTmalloc(MemoryStack stack) Returns a newXrUuidEXTinstance allocated on the specifiedMemoryStack.Copies the specified struct data to this struct.Methods inherited from class org.lwjgl.openxr.XrUuid
data, data, ndata, ndata, ndata, ndata, set, sizeofMethods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
XrUuidEXT
Creates aXrUuidEXTinstance 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
-
data
Copies the specifiedByteBufferto thedatafield. -
data
Sets the specified value at the specified index of thedatafield. -
set
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
Returns a newXrUuidEXTinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newXrUuidEXTinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newXrUuidEXTinstance allocated withBufferUtils. -
create
Returns a newXrUuidEXTinstance for the specified memory address. -
createSafe
-
malloc
Returns a newXrUuidEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newXrUuidEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newXrUuidEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aXrUuidEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
malloc
Returns a newXrUuidEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newXrUuidEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newXrUuidEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newXrUuidEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-