Package org.lwjgl.openxr
Class XrSceneComponentsGetInfoMSFT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.openxr.XrSceneComponentsGetInfoMSFT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class XrSceneComponentsGetInfoMSFT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceThe information to get the scene components.Valid Usage (Implicit)
- The
XR_MSFT_scene_understandingextension must be enabled prior to usingXrSceneComponentsGetInfoMSFT typemust beTYPE_SCENE_COMPONENTS_GET_INFO_MSFTnextmust beNULLor a valid pointer to the next structure in a structure chain. See also:XrSceneComponentParentFilterInfoMSFT,XrSceneObjectTypesFilterInfoMSFT,XrScenePlaneAlignmentFilterInfoMSFTcomponentTypemust be a validXrSceneComponentTypeMSFTvalue
See Also
Layout
struct XrSceneComponentsGetInfoMSFT { XrStructureTypetype(); void const *next(); XrSceneComponentTypeMSFTcomponentType(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classXrSceneComponentsGetInfoMSFT.BufferAn array ofXrSceneComponentsGetInfoMSFTstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intCOMPONENTTYPE
NEXTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description XrSceneComponentsGetInfoMSFT(java.nio.ByteBuffer container)Creates aXrSceneComponentsGetInfoMSFTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static XrSceneComponentsGetInfoMSFTcalloc()Returns a newXrSceneComponentsGetInfoMSFTinstance allocated withmemCalloc.static XrSceneComponentsGetInfoMSFT.Buffercalloc(int capacity)Returns a newXrSceneComponentsGetInfoMSFT.Bufferinstance allocated withmemCalloc.static XrSceneComponentsGetInfoMSFT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newXrSceneComponentsGetInfoMSFT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static XrSceneComponentsGetInfoMSFTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newXrSceneComponentsGetInfoMSFTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.intcomponentType()the scene component type requested.XrSceneComponentsGetInfoMSFTcomponentType(int value)Sets the specified value to thecomponentType()field.static XrSceneComponentsGetInfoMSFTcreate()Returns a newXrSceneComponentsGetInfoMSFTinstance allocated withBufferUtils.static XrSceneComponentsGetInfoMSFT.Buffercreate(int capacity)Returns a newXrSceneComponentsGetInfoMSFT.Bufferinstance allocated withBufferUtils.static XrSceneComponentsGetInfoMSFTcreate(long address)Returns a newXrSceneComponentsGetInfoMSFTinstance for the specified memory address.static XrSceneComponentsGetInfoMSFT.Buffercreate(long address, int capacity)Create aXrSceneComponentsGetInfoMSFT.Bufferinstance at the specified memory.static XrSceneComponentsGetInfoMSFTcreateSafe(long address)static XrSceneComponentsGetInfoMSFT.BuffercreateSafe(long address, int capacity)static XrSceneComponentsGetInfoMSFTmalloc()Returns a newXrSceneComponentsGetInfoMSFTinstance allocated withmemAlloc.static XrSceneComponentsGetInfoMSFT.Buffermalloc(int capacity)Returns a newXrSceneComponentsGetInfoMSFT.Bufferinstance allocated withmemAlloc.static XrSceneComponentsGetInfoMSFT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newXrSceneComponentsGetInfoMSFT.Bufferinstance allocated on the specifiedMemoryStack.static XrSceneComponentsGetInfoMSFTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newXrSceneComponentsGetInfoMSFTinstance allocated on the specifiedMemoryStack.static intncomponentType(long struct)Unsafe version ofcomponentType().static voidncomponentType(long struct, int value)Unsafe version ofcomponentType.longnext()NULLor a pointer to the next structure in a structure chain.XrSceneComponentsGetInfoMSFTnext(long value)Sets the specified value to thenext()field.XrSceneComponentsGetInfoMSFTnext(XrSceneComponentParentFilterInfoMSFT value)Prepends the specifiedXrSceneComponentParentFilterInfoMSFTvalue to thenextchain.XrSceneComponentsGetInfoMSFTnext(XrSceneObjectTypesFilterInfoMSFT value)Prepends the specifiedXrSceneObjectTypesFilterInfoMSFTvalue to thenextchain.XrSceneComponentsGetInfoMSFTnext(XrScenePlaneAlignmentFilterInfoMSFT value)Prepends the specifiedXrScenePlaneAlignmentFilterInfoMSFTvalue 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.XrSceneComponentsGetInfoMSFTset(int type, long next, int componentType)Initializes this struct with the specified values.XrSceneComponentsGetInfoMSFTset(XrSceneComponentsGetInfoMSFT src)Copies the specified struct data to this struct.intsizeof()inttype()theXrStructureTypeof this structure.XrSceneComponentsGetInfoMSFTtype(int value)Sets the specified value to thetype()field.XrSceneComponentsGetInfoMSFTtype$Default()Sets theTYPE_SCENE_COMPONENTS_GET_INFO_MSFTvalue to thetype()field.
-
-
-
Constructor Detail
-
XrSceneComponentsGetInfoMSFT
public XrSceneComponentsGetInfoMSFT(java.nio.ByteBuffer container)
Creates aXrSceneComponentsGetInfoMSFTinstance 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.
-
componentType
public int componentType()
the scene component type requested.
-
type
public XrSceneComponentsGetInfoMSFT type(int value)
Sets the specified value to thetype()field.
-
type$Default
public XrSceneComponentsGetInfoMSFT type$Default()
Sets theTYPE_SCENE_COMPONENTS_GET_INFO_MSFTvalue to thetype()field.
-
next
public XrSceneComponentsGetInfoMSFT next(long value)
Sets the specified value to thenext()field.
-
next
public XrSceneComponentsGetInfoMSFT next(XrSceneComponentParentFilterInfoMSFT value)
Prepends the specifiedXrSceneComponentParentFilterInfoMSFTvalue to thenextchain.
-
next
public XrSceneComponentsGetInfoMSFT next(XrSceneObjectTypesFilterInfoMSFT value)
Prepends the specifiedXrSceneObjectTypesFilterInfoMSFTvalue to thenextchain.
-
next
public XrSceneComponentsGetInfoMSFT next(XrScenePlaneAlignmentFilterInfoMSFT value)
Prepends the specifiedXrScenePlaneAlignmentFilterInfoMSFTvalue to thenextchain.
-
componentType
public XrSceneComponentsGetInfoMSFT componentType(int value)
Sets the specified value to thecomponentType()field.
-
set
public XrSceneComponentsGetInfoMSFT set(int type, long next, int componentType)
Initializes this struct with the specified values.
-
set
public XrSceneComponentsGetInfoMSFT set(XrSceneComponentsGetInfoMSFT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static XrSceneComponentsGetInfoMSFT malloc()
Returns a newXrSceneComponentsGetInfoMSFTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static XrSceneComponentsGetInfoMSFT calloc()
Returns a newXrSceneComponentsGetInfoMSFTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static XrSceneComponentsGetInfoMSFT create()
Returns a newXrSceneComponentsGetInfoMSFTinstance allocated withBufferUtils.
-
create
public static XrSceneComponentsGetInfoMSFT create(long address)
Returns a newXrSceneComponentsGetInfoMSFTinstance for the specified memory address.
-
createSafe
@Nullable public static XrSceneComponentsGetInfoMSFT createSafe(long address)
-
malloc
public static XrSceneComponentsGetInfoMSFT.Buffer malloc(int capacity)
Returns a newXrSceneComponentsGetInfoMSFT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static XrSceneComponentsGetInfoMSFT.Buffer calloc(int capacity)
Returns a newXrSceneComponentsGetInfoMSFT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static XrSceneComponentsGetInfoMSFT.Buffer create(int capacity)
Returns a newXrSceneComponentsGetInfoMSFT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static XrSceneComponentsGetInfoMSFT.Buffer create(long address, int capacity)
Create aXrSceneComponentsGetInfoMSFT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static XrSceneComponentsGetInfoMSFT.Buffer createSafe(long address, int capacity)
-
malloc
public static XrSceneComponentsGetInfoMSFT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newXrSceneComponentsGetInfoMSFTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static XrSceneComponentsGetInfoMSFT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newXrSceneComponentsGetInfoMSFTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static XrSceneComponentsGetInfoMSFT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newXrSceneComponentsGetInfoMSFT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static XrSceneComponentsGetInfoMSFT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newXrSceneComponentsGetInfoMSFT.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().
-
ncomponentType
public static int ncomponentType(long struct)
Unsafe version ofcomponentType().
-
ntype
public static void ntype(long struct, int value)Unsafe version oftype.
-
nnext
public static void nnext(long struct, long value)Unsafe version ofnext.
-
ncomponentType
public static void ncomponentType(long struct, int value)Unsafe version ofcomponentType.
-
-