Package org.lwjgl.openxr
Class XrSpatialComponentDataQueryResultEXT
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<XrSpatialComponentDataQueryResultEXT>
org.lwjgl.openxr.XrSpatialComponentDataQueryResultEXT
- All Implemented Interfaces:
AutoCloseable,NativeResource,Pointer
public class XrSpatialComponentDataQueryResultEXT
extends Struct<XrSpatialComponentDataQueryResultEXT>
implements NativeResource
struct XrSpatialComponentDataQueryResultEXT {
XrStructureType type;
void * next;
uint32_t entityIdCapacityInput;
uint32_t entityIdCountOutput;
XrSpatialEntityIdEXT * entityIds;
uint32_t entityStateCapacityInput;
uint32_t entityStateCountOutput;
XrSpatialEntityTrackingStateEXT * entityStates;
}-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAn array ofXrSpatialComponentDataQueryResultEXTstructs.Nested 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 member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.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
ConstructorsConstructorDescriptionXrSpatialComponentDataQueryResultEXT(ByteBuffer container) Creates aXrSpatialComponentDataQueryResultEXTinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptioncalloc()Returns a newXrSpatialComponentDataQueryResultEXTinstance allocated withmemCalloc.calloc(int capacity) Returns a newXrSpatialComponentDataQueryResultEXT.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newXrSpatialComponentDataQueryResultEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.calloc(MemoryStack stack) Returns a newXrSpatialComponentDataQueryResultEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.create()Returns a newXrSpatialComponentDataQueryResultEXTinstance allocated withBufferUtils.create(int capacity) Returns a newXrSpatialComponentDataQueryResultEXT.Bufferinstance allocated withBufferUtils.create(long address) Returns a newXrSpatialComponentDataQueryResultEXTinstance for the specified memory address.create(long address, int capacity) Create aXrSpatialComponentDataQueryResultEXT.Bufferinstance at the specified memory.static @Nullable XrSpatialComponentDataQueryResultEXTcreateSafe(long address) static @Nullable XrSpatialComponentDataQueryResultEXT.BuffercreateSafe(long address, int capacity) intentityIdCapacityInput(int value) Sets the specified value to theentityIdCapacityInputfield.intentityIdCountOutput(int value) Sets the specified value to theentityIdCountOutputfield.@Nullable LongBufferentityIds(@Nullable LongBuffer value) Sets the address of the specifiedLongBufferto theentityIdsfield.intentityStateCapacityInput(int value) Sets the specified value to theentityStateCapacityInputfield.intentityStateCountOutput(int value) Sets the specified value to theentityStateCountOutputfield.@Nullable IntBufferentityStates(@Nullable IntBuffer value) Sets the address of the specifiedIntBufferto theentityStatesfield.malloc()Returns a newXrSpatialComponentDataQueryResultEXTinstance allocated withmemAlloc.malloc(int capacity) Returns a newXrSpatialComponentDataQueryResultEXT.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newXrSpatialComponentDataQueryResultEXT.Bufferinstance allocated on the specifiedMemoryStack.malloc(MemoryStack stack) Returns a newXrSpatialComponentDataQueryResultEXTinstance allocated on the specifiedMemoryStack.static intnentityIdCapacityInput(long struct) Unsafe version ofentityIdCapacityInput().static voidnentityIdCapacityInput(long struct, int value) Sets the specified value to theentityIdCapacityInputfield of the specifiedstruct.static intnentityIdCountOutput(long struct) Unsafe version ofentityIdCountOutput().static voidnentityIdCountOutput(long struct, int value) Unsafe version ofentityIdCountOutput.static @Nullable LongBuffernentityIds(long struct) Unsafe version ofentityIds.static voidnentityIds(long struct, @Nullable LongBuffer value) Unsafe version ofentityIds.static intnentityStateCapacityInput(long struct) Unsafe version ofentityStateCapacityInput().static voidnentityStateCapacityInput(long struct, int value) Sets the specified value to theentityStateCapacityInputfield of the specifiedstruct.static intnentityStateCountOutput(long struct) Unsafe version ofentityStateCountOutput().static voidnentityStateCountOutput(long struct, int value) Unsafe version ofentityStateCountOutput.static @Nullable IntBuffernentityStates(long struct) Unsafe version ofentityStates.static voidnentityStates(long struct, @Nullable IntBuffer value) Unsafe version ofentityStates.longnext()next(long value) Sets the specified value to thenextfield.Prepends the specifiedXrSpatialComponentAnchorListEXTvalue to thenextchain.Prepends the specifiedXrSpatialComponentBounded2DListEXTvalue to thenextchain.Prepends the specifiedXrSpatialComponentBounded3DListEXTvalue to thenextchain.Prepends the specifiedXrSpatialComponentMarkerListEXTvalue to thenextchain.Prepends the specifiedXrSpatialComponentMesh2DListEXTvalue to thenextchain.Prepends the specifiedXrSpatialComponentMesh3DListEXTvalue to thenextchain.Prepends the specifiedXrSpatialComponentParentListEXTvalue to thenextchain.Prepends the specifiedXrSpatialComponentPersistenceListEXTvalue to thenextchain.Prepends the specifiedXrSpatialComponentPlaneAlignmentListEXTvalue to thenextchain.Prepends the specifiedXrSpatialComponentPlaneSemanticLabelListEXTvalue to thenextchain.Prepends the specifiedXrSpatialComponentPolygon2DListEXTvalue to thenextchain.static longnnext(long struct) Unsafe version ofnext().static voidnnext(long struct, long value) Unsafe version ofnext.static intntype(long struct) Unsafe version oftype().static voidntype(long struct, int value) Unsafe version oftype.set(int type, long next, int entityIdCapacityInput, int entityIdCountOutput, @Nullable LongBuffer entityIds, int entityStateCapacityInput, int entityStateCountOutput, @Nullable IntBuffer entityStates) Initializes this struct with the specified values.Copies the specified struct data to this struct.intsizeof()Returnssizeof(struct).inttype()type(int value) Sets the specified value to thetypefield.Sets theTYPE_SPATIAL_COMPONENT_DATA_QUERY_RESULT_EXTvalue to thetypefield.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. -
TYPE
public static final int TYPEThe struct member offsets. -
NEXT
public static final int NEXTThe struct member offsets. -
ENTITYIDCAPACITYINPUT
public static final int ENTITYIDCAPACITYINPUTThe struct member offsets. -
ENTITYIDCOUNTOUTPUT
public static final int ENTITYIDCOUNTOUTPUTThe struct member offsets. -
ENTITYIDS
public static final int ENTITYIDSThe struct member offsets. -
ENTITYSTATECAPACITYINPUT
public static final int ENTITYSTATECAPACITYINPUTThe struct member offsets. -
ENTITYSTATECOUNTOUTPUT
public static final int ENTITYSTATECOUNTOUTPUTThe struct member offsets. -
ENTITYSTATES
public static final int ENTITYSTATESThe struct member offsets.
-
-
Constructor Details
-
XrSpatialComponentDataQueryResultEXT
Creates aXrSpatialComponentDataQueryResultEXTinstance 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<XrSpatialComponentDataQueryResultEXT>
-
type
public int type()- Returns:
- the value of the
typefield.
-
next
public long next()- Returns:
- the value of the
nextfield.
-
entityIdCapacityInput
public int entityIdCapacityInput()- Returns:
- the value of the
entityIdCapacityInputfield.
-
entityIdCountOutput
public int entityIdCountOutput()- Returns:
- the value of the
entityIdCountOutputfield.
-
entityIds
- Returns:
- a
LongBufferview of the data pointed to by theentityIdsfield.
-
entityStateCapacityInput
public int entityStateCapacityInput()- Returns:
- the value of the
entityStateCapacityInputfield.
-
entityStateCountOutput
public int entityStateCountOutput()- Returns:
- the value of the
entityStateCountOutputfield.
-
entityStates
- Returns:
- a
IntBufferview of the data pointed to by theentityStatesfield.
-
type
Sets the specified value to thetypefield. -
type$Default
Sets theTYPE_SPATIAL_COMPONENT_DATA_QUERY_RESULT_EXTvalue to thetypefield. -
next
Sets the specified value to thenextfield. -
next
Prepends the specifiedXrSpatialComponentAnchorListEXTvalue to thenextchain. -
next
Prepends the specifiedXrSpatialComponentBounded2DListEXTvalue to thenextchain. -
next
Prepends the specifiedXrSpatialComponentBounded3DListEXTvalue to thenextchain. -
next
Prepends the specifiedXrSpatialComponentMarkerListEXTvalue to thenextchain. -
next
Prepends the specifiedXrSpatialComponentMesh2DListEXTvalue to thenextchain. -
next
Prepends the specifiedXrSpatialComponentMesh3DListEXTvalue to thenextchain. -
next
Prepends the specifiedXrSpatialComponentParentListEXTvalue to thenextchain. -
next
Prepends the specifiedXrSpatialComponentPersistenceListEXTvalue to thenextchain. -
next
Prepends the specifiedXrSpatialComponentPlaneAlignmentListEXTvalue to thenextchain. -
next
Prepends the specifiedXrSpatialComponentPlaneSemanticLabelListEXTvalue to thenextchain. -
next
Prepends the specifiedXrSpatialComponentPolygon2DListEXTvalue to thenextchain. -
entityIdCapacityInput
Sets the specified value to theentityIdCapacityInputfield. -
entityIdCountOutput
Sets the specified value to theentityIdCountOutputfield. -
entityIds
Sets the address of the specifiedLongBufferto theentityIdsfield. -
entityStateCapacityInput
Sets the specified value to theentityStateCapacityInputfield. -
entityStateCountOutput
Sets the specified value to theentityStateCountOutputfield. -
entityStates
Sets the address of the specifiedIntBufferto theentityStatesfield. -
set
public XrSpatialComponentDataQueryResultEXT set(int type, long next, int entityIdCapacityInput, int entityIdCountOutput, @Nullable LongBuffer entityIds, int entityStateCapacityInput, int entityStateCountOutput, @Nullable IntBuffer entityStates) Initializes this struct with the specified values. -
set
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
Returns a newXrSpatialComponentDataQueryResultEXTinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newXrSpatialComponentDataQueryResultEXTinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newXrSpatialComponentDataQueryResultEXTinstance allocated withBufferUtils. -
create
Returns a newXrSpatialComponentDataQueryResultEXTinstance for the specified memory address. -
createSafe
-
malloc
Returns a newXrSpatialComponentDataQueryResultEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newXrSpatialComponentDataQueryResultEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newXrSpatialComponentDataQueryResultEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aXrSpatialComponentDataQueryResultEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
public static @Nullable XrSpatialComponentDataQueryResultEXT.Buffer createSafe(long address, int capacity) -
malloc
Returns a newXrSpatialComponentDataQueryResultEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newXrSpatialComponentDataQueryResultEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newXrSpatialComponentDataQueryResultEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newXrSpatialComponentDataQueryResultEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
ntype
public static int ntype(long struct) Unsafe version oftype(). -
nnext
public static long nnext(long struct) Unsafe version ofnext(). -
nentityIdCapacityInput
public static int nentityIdCapacityInput(long struct) Unsafe version ofentityIdCapacityInput(). -
nentityIdCountOutput
public static int nentityIdCountOutput(long struct) Unsafe version ofentityIdCountOutput(). -
nentityIds
Unsafe version ofentityIds. -
nentityStateCapacityInput
public static int nentityStateCapacityInput(long struct) Unsafe version ofentityStateCapacityInput(). -
nentityStateCountOutput
public static int nentityStateCountOutput(long struct) Unsafe version ofentityStateCountOutput(). -
nentityStates
Unsafe version ofentityStates. -
ntype
public static void ntype(long struct, int value) Unsafe version oftype. -
nnext
public static void nnext(long struct, long value) Unsafe version ofnext. -
nentityIdCapacityInput
public static void nentityIdCapacityInput(long struct, int value) Sets the specified value to theentityIdCapacityInputfield of the specifiedstruct. -
nentityIdCountOutput
public static void nentityIdCountOutput(long struct, int value) Unsafe version ofentityIdCountOutput. -
nentityIds
Unsafe version ofentityIds. -
nentityStateCapacityInput
public static void nentityStateCapacityInput(long struct, int value) Sets the specified value to theentityStateCapacityInputfield of the specifiedstruct. -
nentityStateCountOutput
public static void nentityStateCountOutput(long struct, int value) Unsafe version ofentityStateCountOutput. -
nentityStates
Unsafe version ofentityStates.
-