Package org.lwjgl.openxr
Class XrSpaceQueryResultFB
- All Implemented Interfaces:
AutoCloseable,NativeResource,Pointer
struct XrSpaceQueryResultFB {
XrSpace space;
XrUuidEXT uuid;
}-
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 size in bytes.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
ConstructorsConstructorDescriptionXrSpaceQueryResultFB(ByteBuffer container) Creates aXrSpaceQueryResultFBinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionstatic XrSpaceQueryResultFBcalloc()Returns a newXrSpaceQueryResultFBinstance allocated withmemCalloc.static XrSpaceQueryResultFB.Buffercalloc(int capacity) Returns a newXrSpaceQueryResultFB.Bufferinstance allocated withmemCalloc.static XrSpaceQueryResultFB.Buffercalloc(int capacity, MemoryStack stack) Returns a newXrSpaceQueryResultFB.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static XrSpaceQueryResultFBcalloc(MemoryStack stack) Returns a newXrSpaceQueryResultFBinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static XrSpaceQueryResultFBcreate()Returns a newXrSpaceQueryResultFBinstance allocated withBufferUtils.static XrSpaceQueryResultFB.Buffercreate(int capacity) Returns a newXrSpaceQueryResultFB.Bufferinstance allocated withBufferUtils.static XrSpaceQueryResultFBcreate(long address) Returns a newXrSpaceQueryResultFBinstance for the specified memory address.static XrSpaceQueryResultFB.Buffercreate(long address, int capacity) Create aXrSpaceQueryResultFB.Bufferinstance at the specified memory.static @Nullable XrSpaceQueryResultFBcreateSafe(long address) static @Nullable XrSpaceQueryResultFB.BuffercreateSafe(long address, int capacity) static XrSpaceQueryResultFBmalloc()Returns a newXrSpaceQueryResultFBinstance allocated withmemAlloc.static XrSpaceQueryResultFB.Buffermalloc(int capacity) Returns a newXrSpaceQueryResultFB.Bufferinstance allocated withmemAlloc.static XrSpaceQueryResultFB.Buffermalloc(int capacity, MemoryStack stack) Returns a newXrSpaceQueryResultFB.Bufferinstance allocated on the specifiedMemoryStack.static XrSpaceQueryResultFBmalloc(MemoryStack stack) Returns a newXrSpaceQueryResultFBinstance allocated on the specifiedMemoryStack.static longnspace(long struct) Unsafe version ofspace().static XrUuidEXTnuuid(long struct) Unsafe version ofuuid().intsizeof()Returnssizeof(struct).longspace()uuid()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. -
SPACE
public static final int SPACEThe struct member offsets. -
UUID
public static final int UUIDThe struct member offsets.
-
-
Constructor Details
-
XrSpaceQueryResultFB
Creates aXrSpaceQueryResultFBinstance 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<XrSpaceQueryResultFB>
-
space
public long space()- Returns:
- the value of the
spacefield.
-
uuid
- Returns:
- a
XrUuidEXTview of theuuidfield.
-
malloc
Returns a newXrSpaceQueryResultFBinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newXrSpaceQueryResultFBinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newXrSpaceQueryResultFBinstance allocated withBufferUtils. -
create
Returns a newXrSpaceQueryResultFBinstance for the specified memory address. -
createSafe
-
malloc
Returns a newXrSpaceQueryResultFB.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newXrSpaceQueryResultFB.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newXrSpaceQueryResultFB.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aXrSpaceQueryResultFB.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
malloc
Returns a newXrSpaceQueryResultFBinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newXrSpaceQueryResultFBinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newXrSpaceQueryResultFB.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newXrSpaceQueryResultFB.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
nspace
public static long nspace(long struct) Unsafe version ofspace(). -
nuuid
Unsafe version ofuuid().
-