Package org.lwjgl.openxr
Class XrPassthroughCreateInfoFB
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.openxr.XrPassthroughCreateInfoFB
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class XrPassthroughCreateInfoFB extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceA create structure for passthrough.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.flagsis a bitmask ofXrPassthroughFlagBitsFBthat specify additional behavior.
Valid Usage (Implicit)
- The
XR_FB_passthroughextension must be enabled prior to usingXrPassthroughCreateInfoFB typemust beTYPE_PASSTHROUGH_CREATE_INFO_FBnextmust beNULLor a valid pointer to the next structure in a structure chainflagsmust be a valid combination ofXrPassthroughFlagBitsFBvaluesflagsmust not be 0
See Also
Layout
struct XrPassthroughCreateInfoFB { XrStructureType type; void const * next; XrPassthroughFlagsFB flags; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classXrPassthroughCreateInfoFB.BufferAn array ofXrPassthroughCreateInfoFBstructs.
-
Constructor Summary
Constructors Constructor Description XrPassthroughCreateInfoFB(java.nio.ByteBuffer container)Creates aXrPassthroughCreateInfoFBinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static XrPassthroughCreateInfoFBcalloc()Returns a newXrPassthroughCreateInfoFBinstance allocated withmemCalloc.static XrPassthroughCreateInfoFB.Buffercalloc(int capacity)Returns a newXrPassthroughCreateInfoFB.Bufferinstance allocated withmemCalloc.static XrPassthroughCreateInfoFB.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newXrPassthroughCreateInfoFB.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static XrPassthroughCreateInfoFBcalloc(org.lwjgl.system.MemoryStack stack)Returns a newXrPassthroughCreateInfoFBinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static XrPassthroughCreateInfoFBcreate()Returns a newXrPassthroughCreateInfoFBinstance allocated withBufferUtils.static XrPassthroughCreateInfoFB.Buffercreate(int capacity)Returns a newXrPassthroughCreateInfoFB.Bufferinstance allocated withBufferUtils.static XrPassthroughCreateInfoFBcreate(long address)Returns a newXrPassthroughCreateInfoFBinstance for the specified memory address.static XrPassthroughCreateInfoFB.Buffercreate(long address, int capacity)Create aXrPassthroughCreateInfoFB.Bufferinstance at the specified memory.static XrPassthroughCreateInfoFBcreateSafe(long address)static XrPassthroughCreateInfoFB.BuffercreateSafe(long address, int capacity)longflags()XrPassthroughCreateInfoFBflags(long value)Sets the specified value to theflagsfield.static XrPassthroughCreateInfoFBmalloc()Returns a newXrPassthroughCreateInfoFBinstance allocated withmemAlloc.static XrPassthroughCreateInfoFB.Buffermalloc(int capacity)Returns a newXrPassthroughCreateInfoFB.Bufferinstance allocated withmemAlloc.static XrPassthroughCreateInfoFB.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newXrPassthroughCreateInfoFB.Bufferinstance allocated on the specifiedMemoryStack.static XrPassthroughCreateInfoFBmalloc(org.lwjgl.system.MemoryStack stack)Returns a newXrPassthroughCreateInfoFBinstance allocated on the specifiedMemoryStack.longnext()XrPassthroughCreateInfoFBnext(long value)Sets the specified value to thenextfield.static longnflags(long struct)Unsafe version offlags().static voidnflags(long struct, long value)Unsafe version offlags.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.XrPassthroughCreateInfoFBset(int type, long next, long flags)Initializes this struct with the specified values.XrPassthroughCreateInfoFBset(XrPassthroughCreateInfoFB src)Copies the specified struct data to this struct.intsizeof()inttype()XrPassthroughCreateInfoFBtype(int value)Sets the specified value to thetypefield.XrPassthroughCreateInfoFBtype$Default()Sets theTYPE_PASSTHROUGH_CREATE_INFO_FBvalue to thetypefield.
-
-
-
Constructor Detail
-
XrPassthroughCreateInfoFB
public XrPassthroughCreateInfoFB(java.nio.ByteBuffer container)
Creates aXrPassthroughCreateInfoFBinstance 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.
-
flags
public long flags()
- Returns:
- the value of the
flagsfield.
-
type
public XrPassthroughCreateInfoFB type(int value)
Sets the specified value to thetypefield.
-
type$Default
public XrPassthroughCreateInfoFB type$Default()
Sets theTYPE_PASSTHROUGH_CREATE_INFO_FBvalue to thetypefield.
-
next
public XrPassthroughCreateInfoFB next(long value)
Sets the specified value to thenextfield.
-
flags
public XrPassthroughCreateInfoFB flags(long value)
Sets the specified value to theflagsfield.
-
set
public XrPassthroughCreateInfoFB set(int type, long next, long flags)
Initializes this struct with the specified values.
-
set
public XrPassthroughCreateInfoFB set(XrPassthroughCreateInfoFB src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static XrPassthroughCreateInfoFB malloc()
Returns a newXrPassthroughCreateInfoFBinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static XrPassthroughCreateInfoFB calloc()
Returns a newXrPassthroughCreateInfoFBinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static XrPassthroughCreateInfoFB create()
Returns a newXrPassthroughCreateInfoFBinstance allocated withBufferUtils.
-
create
public static XrPassthroughCreateInfoFB create(long address)
Returns a newXrPassthroughCreateInfoFBinstance for the specified memory address.
-
createSafe
@Nullable public static XrPassthroughCreateInfoFB createSafe(long address)
-
malloc
public static XrPassthroughCreateInfoFB.Buffer malloc(int capacity)
Returns a newXrPassthroughCreateInfoFB.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static XrPassthroughCreateInfoFB.Buffer calloc(int capacity)
Returns a newXrPassthroughCreateInfoFB.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static XrPassthroughCreateInfoFB.Buffer create(int capacity)
Returns a newXrPassthroughCreateInfoFB.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static XrPassthroughCreateInfoFB.Buffer create(long address, int capacity)
Create aXrPassthroughCreateInfoFB.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static XrPassthroughCreateInfoFB.Buffer createSafe(long address, int capacity)
-
malloc
public static XrPassthroughCreateInfoFB malloc(org.lwjgl.system.MemoryStack stack)
Returns a newXrPassthroughCreateInfoFBinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static XrPassthroughCreateInfoFB calloc(org.lwjgl.system.MemoryStack stack)
Returns a newXrPassthroughCreateInfoFBinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static XrPassthroughCreateInfoFB.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newXrPassthroughCreateInfoFB.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static XrPassthroughCreateInfoFB.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newXrPassthroughCreateInfoFB.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().
-
nflags
public static long nflags(long struct)
Unsafe version offlags().
-
ntype
public static void ntype(long struct, int value)Unsafe version oftype.
-
nnext
public static void nnext(long struct, long value)Unsafe version ofnext.
-
nflags
public static void nflags(long struct, long value)Unsafe version offlags.
-
-