Package org.lwjgl.openxr
Class XrSystemRenderModelPropertiesFB
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.openxr.XrSystemRenderModelPropertiesFB
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class XrSystemRenderModelPropertiesFB extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceA render model system property.Member Descriptions
typeis theXrStructureTypeof this structure.nextisNULLor a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR or this extension.supportsRenderModelLoadingdefines whether the system supports loading render models.
Valid Usage (Implicit)
- The
XR_FB_render_modelextension must be enabled prior to usingXrSystemRenderModelPropertiesFB typemust beTYPE_SYSTEM_RENDER_MODEL_PROPERTIES_FBnextmust beNULLor a valid pointer to the next structure in a structure chain
Layout
struct XrSystemRenderModelPropertiesFB { XrStructureType type; void * next; XrBool32 supportsRenderModelLoading; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classXrSystemRenderModelPropertiesFB.BufferAn array ofXrSystemRenderModelPropertiesFBstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intNEXTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSUPPORTSRENDERMODELLOADING
TYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description XrSystemRenderModelPropertiesFB(java.nio.ByteBuffer container)Creates aXrSystemRenderModelPropertiesFBinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static XrSystemRenderModelPropertiesFBcalloc()Returns a newXrSystemRenderModelPropertiesFBinstance allocated withmemCalloc.static XrSystemRenderModelPropertiesFB.Buffercalloc(int capacity)Returns a newXrSystemRenderModelPropertiesFB.Bufferinstance allocated withmemCalloc.static XrSystemRenderModelPropertiesFB.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newXrSystemRenderModelPropertiesFB.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static XrSystemRenderModelPropertiesFBcalloc(org.lwjgl.system.MemoryStack stack)Returns a newXrSystemRenderModelPropertiesFBinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static XrSystemRenderModelPropertiesFBcreate()Returns a newXrSystemRenderModelPropertiesFBinstance allocated withBufferUtils.static XrSystemRenderModelPropertiesFB.Buffercreate(int capacity)Returns a newXrSystemRenderModelPropertiesFB.Bufferinstance allocated withBufferUtils.static XrSystemRenderModelPropertiesFBcreate(long address)Returns a newXrSystemRenderModelPropertiesFBinstance for the specified memory address.static XrSystemRenderModelPropertiesFB.Buffercreate(long address, int capacity)Create aXrSystemRenderModelPropertiesFB.Bufferinstance at the specified memory.static XrSystemRenderModelPropertiesFBcreateSafe(long address)static XrSystemRenderModelPropertiesFB.BuffercreateSafe(long address, int capacity)static XrSystemRenderModelPropertiesFBmalloc()Returns a newXrSystemRenderModelPropertiesFBinstance allocated withmemAlloc.static XrSystemRenderModelPropertiesFB.Buffermalloc(int capacity)Returns a newXrSystemRenderModelPropertiesFB.Bufferinstance allocated withmemAlloc.static XrSystemRenderModelPropertiesFB.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newXrSystemRenderModelPropertiesFB.Bufferinstance allocated on the specifiedMemoryStack.static XrSystemRenderModelPropertiesFBmalloc(org.lwjgl.system.MemoryStack stack)Returns a newXrSystemRenderModelPropertiesFBinstance allocated on the specifiedMemoryStack.longnext()XrSystemRenderModelPropertiesFBnext(long value)Sets the specified value to thenextfield.static longnnext(long struct)Unsafe version ofnext().static voidnnext(long struct, long value)Unsafe version ofnext.static intnsupportsRenderModelLoading(long struct)Unsafe version ofsupportsRenderModelLoading().static voidnsupportsRenderModelLoading(long struct, int value)Unsafe version ofsupportsRenderModelLoading.static intntype(long struct)Unsafe version oftype().static voidntype(long struct, int value)Unsafe version oftype.XrSystemRenderModelPropertiesFBset(int type, long next, boolean supportsRenderModelLoading)Initializes this struct with the specified values.XrSystemRenderModelPropertiesFBset(XrSystemRenderModelPropertiesFB src)Copies the specified struct data to this struct.intsizeof()booleansupportsRenderModelLoading()XrSystemRenderModelPropertiesFBsupportsRenderModelLoading(boolean value)Sets the specified value to thesupportsRenderModelLoadingfield.inttype()XrSystemRenderModelPropertiesFBtype(int value)Sets the specified value to thetypefield.XrSystemRenderModelPropertiesFBtype$Default()Sets theTYPE_SYSTEM_RENDER_MODEL_PROPERTIES_FBvalue to thetypefield.
-
-
-
Constructor Detail
-
XrSystemRenderModelPropertiesFB
public XrSystemRenderModelPropertiesFB(java.nio.ByteBuffer container)
Creates aXrSystemRenderModelPropertiesFBinstance 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()
- Returns:
- the value of the
typefield.
-
next
public long next()
- Returns:
- the value of the
nextfield.
-
supportsRenderModelLoading
public boolean supportsRenderModelLoading()
- Returns:
- the value of the
supportsRenderModelLoadingfield.
-
type
public XrSystemRenderModelPropertiesFB type(int value)
Sets the specified value to thetypefield.
-
type$Default
public XrSystemRenderModelPropertiesFB type$Default()
Sets theTYPE_SYSTEM_RENDER_MODEL_PROPERTIES_FBvalue to thetypefield.
-
next
public XrSystemRenderModelPropertiesFB next(long value)
Sets the specified value to thenextfield.
-
supportsRenderModelLoading
public XrSystemRenderModelPropertiesFB supportsRenderModelLoading(boolean value)
Sets the specified value to thesupportsRenderModelLoadingfield.
-
set
public XrSystemRenderModelPropertiesFB set(int type, long next, boolean supportsRenderModelLoading)
Initializes this struct with the specified values.
-
set
public XrSystemRenderModelPropertiesFB set(XrSystemRenderModelPropertiesFB src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static XrSystemRenderModelPropertiesFB malloc()
Returns a newXrSystemRenderModelPropertiesFBinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static XrSystemRenderModelPropertiesFB calloc()
Returns a newXrSystemRenderModelPropertiesFBinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static XrSystemRenderModelPropertiesFB create()
Returns a newXrSystemRenderModelPropertiesFBinstance allocated withBufferUtils.
-
create
public static XrSystemRenderModelPropertiesFB create(long address)
Returns a newXrSystemRenderModelPropertiesFBinstance for the specified memory address.
-
createSafe
@Nullable public static XrSystemRenderModelPropertiesFB createSafe(long address)
-
malloc
public static XrSystemRenderModelPropertiesFB.Buffer malloc(int capacity)
Returns a newXrSystemRenderModelPropertiesFB.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static XrSystemRenderModelPropertiesFB.Buffer calloc(int capacity)
Returns a newXrSystemRenderModelPropertiesFB.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static XrSystemRenderModelPropertiesFB.Buffer create(int capacity)
Returns a newXrSystemRenderModelPropertiesFB.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static XrSystemRenderModelPropertiesFB.Buffer create(long address, int capacity)
Create aXrSystemRenderModelPropertiesFB.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static XrSystemRenderModelPropertiesFB.Buffer createSafe(long address, int capacity)
-
malloc
public static XrSystemRenderModelPropertiesFB malloc(org.lwjgl.system.MemoryStack stack)
Returns a newXrSystemRenderModelPropertiesFBinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static XrSystemRenderModelPropertiesFB calloc(org.lwjgl.system.MemoryStack stack)
Returns a newXrSystemRenderModelPropertiesFBinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static XrSystemRenderModelPropertiesFB.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newXrSystemRenderModelPropertiesFB.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static XrSystemRenderModelPropertiesFB.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newXrSystemRenderModelPropertiesFB.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().
-
nsupportsRenderModelLoading
public static int nsupportsRenderModelLoading(long struct)
Unsafe version ofsupportsRenderModelLoading().
-
ntype
public static void ntype(long struct, int value)Unsafe version oftype.
-
nnext
public static void nnext(long struct, long value)Unsafe version ofnext.
-
nsupportsRenderModelLoading
public static void nsupportsRenderModelLoading(long struct, int value)Unsafe version ofsupportsRenderModelLoading.
-
-