Package org.lwjgl.openxr
Class XrKeyboardSpaceCreateInfoFB
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.openxr.XrKeyboardSpaceCreateInfoFB
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class XrKeyboardSpaceCreateInfoFB extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceInput data needed by the system to start tracking a keyboard.Description
XrKeyboardSpaceCreateInfoFBdescribes a request for the system needed to create a trackableXrSpaceassociated with the keyboard.Valid Usage (Implicit)
- The
XR_FB_keyboard_trackingextension must be enabled prior to usingXrKeyboardSpaceCreateInfoFB typemust beTYPE_KEYBOARD_SPACE_CREATE_INFO_FBnextmust beNULLor a valid pointer to the next structure in a structure chain
See Also
Layout
struct XrKeyboardSpaceCreateInfoFB { XrStructureType type; void * next; uint64_ttrackedKeyboardId(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classXrKeyboardSpaceCreateInfoFB.BufferAn array ofXrKeyboardSpaceCreateInfoFBstructs.
-
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 intTRACKEDKEYBOARDID
TYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description XrKeyboardSpaceCreateInfoFB(java.nio.ByteBuffer container)Creates aXrKeyboardSpaceCreateInfoFBinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static XrKeyboardSpaceCreateInfoFBcalloc()Returns a newXrKeyboardSpaceCreateInfoFBinstance allocated withmemCalloc.static XrKeyboardSpaceCreateInfoFB.Buffercalloc(int capacity)Returns a newXrKeyboardSpaceCreateInfoFB.Bufferinstance allocated withmemCalloc.static XrKeyboardSpaceCreateInfoFB.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newXrKeyboardSpaceCreateInfoFB.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static XrKeyboardSpaceCreateInfoFBcalloc(org.lwjgl.system.MemoryStack stack)Returns a newXrKeyboardSpaceCreateInfoFBinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static XrKeyboardSpaceCreateInfoFBcreate()Returns a newXrKeyboardSpaceCreateInfoFBinstance allocated withBufferUtils.static XrKeyboardSpaceCreateInfoFB.Buffercreate(int capacity)Returns a newXrKeyboardSpaceCreateInfoFB.Bufferinstance allocated withBufferUtils.static XrKeyboardSpaceCreateInfoFBcreate(long address)Returns a newXrKeyboardSpaceCreateInfoFBinstance for the specified memory address.static XrKeyboardSpaceCreateInfoFB.Buffercreate(long address, int capacity)Create aXrKeyboardSpaceCreateInfoFB.Bufferinstance at the specified memory.static XrKeyboardSpaceCreateInfoFBcreateSafe(long address)static XrKeyboardSpaceCreateInfoFB.BuffercreateSafe(long address, int capacity)static XrKeyboardSpaceCreateInfoFBmalloc()Returns a newXrKeyboardSpaceCreateInfoFBinstance allocated withmemAlloc.static XrKeyboardSpaceCreateInfoFB.Buffermalloc(int capacity)Returns a newXrKeyboardSpaceCreateInfoFB.Bufferinstance allocated withmemAlloc.static XrKeyboardSpaceCreateInfoFB.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newXrKeyboardSpaceCreateInfoFB.Bufferinstance allocated on the specifiedMemoryStack.static XrKeyboardSpaceCreateInfoFBmalloc(org.lwjgl.system.MemoryStack stack)Returns a newXrKeyboardSpaceCreateInfoFBinstance allocated on the specifiedMemoryStack.longnext()XrKeyboardSpaceCreateInfoFBnext(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 longntrackedKeyboardId(long struct)Unsafe version oftrackedKeyboardId().static voidntrackedKeyboardId(long struct, long value)Unsafe version oftrackedKeyboardId.static intntype(long struct)Unsafe version oftype().static voidntype(long struct, int value)Unsafe version oftype.XrKeyboardSpaceCreateInfoFBset(int type, long next, long trackedKeyboardId)Initializes this struct with the specified values.XrKeyboardSpaceCreateInfoFBset(XrKeyboardSpaceCreateInfoFB src)Copies the specified struct data to this struct.intsizeof()longtrackedKeyboardId()abstract identifier describing the type of keyboard to track.XrKeyboardSpaceCreateInfoFBtrackedKeyboardId(long value)Sets the specified value to thetrackedKeyboardId()field.inttype()XrKeyboardSpaceCreateInfoFBtype(int value)Sets the specified value to thetypefield.XrKeyboardSpaceCreateInfoFBtype$Default()Sets theTYPE_KEYBOARD_SPACE_CREATE_INFO_FBvalue to thetypefield.
-
-
-
Constructor Detail
-
XrKeyboardSpaceCreateInfoFB
public XrKeyboardSpaceCreateInfoFB(java.nio.ByteBuffer container)
Creates aXrKeyboardSpaceCreateInfoFBinstance 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.
-
trackedKeyboardId
public long trackedKeyboardId()
abstract identifier describing the type of keyboard to track.
-
type
public XrKeyboardSpaceCreateInfoFB type(int value)
Sets the specified value to thetypefield.
-
type$Default
public XrKeyboardSpaceCreateInfoFB type$Default()
Sets theTYPE_KEYBOARD_SPACE_CREATE_INFO_FBvalue to thetypefield.
-
next
public XrKeyboardSpaceCreateInfoFB next(long value)
Sets the specified value to thenextfield.
-
trackedKeyboardId
public XrKeyboardSpaceCreateInfoFB trackedKeyboardId(long value)
Sets the specified value to thetrackedKeyboardId()field.
-
set
public XrKeyboardSpaceCreateInfoFB set(int type, long next, long trackedKeyboardId)
Initializes this struct with the specified values.
-
set
public XrKeyboardSpaceCreateInfoFB set(XrKeyboardSpaceCreateInfoFB src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static XrKeyboardSpaceCreateInfoFB malloc()
Returns a newXrKeyboardSpaceCreateInfoFBinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static XrKeyboardSpaceCreateInfoFB calloc()
Returns a newXrKeyboardSpaceCreateInfoFBinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static XrKeyboardSpaceCreateInfoFB create()
Returns a newXrKeyboardSpaceCreateInfoFBinstance allocated withBufferUtils.
-
create
public static XrKeyboardSpaceCreateInfoFB create(long address)
Returns a newXrKeyboardSpaceCreateInfoFBinstance for the specified memory address.
-
createSafe
@Nullable public static XrKeyboardSpaceCreateInfoFB createSafe(long address)
-
malloc
public static XrKeyboardSpaceCreateInfoFB.Buffer malloc(int capacity)
Returns a newXrKeyboardSpaceCreateInfoFB.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static XrKeyboardSpaceCreateInfoFB.Buffer calloc(int capacity)
Returns a newXrKeyboardSpaceCreateInfoFB.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static XrKeyboardSpaceCreateInfoFB.Buffer create(int capacity)
Returns a newXrKeyboardSpaceCreateInfoFB.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static XrKeyboardSpaceCreateInfoFB.Buffer create(long address, int capacity)
Create aXrKeyboardSpaceCreateInfoFB.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static XrKeyboardSpaceCreateInfoFB.Buffer createSafe(long address, int capacity)
-
malloc
public static XrKeyboardSpaceCreateInfoFB malloc(org.lwjgl.system.MemoryStack stack)
Returns a newXrKeyboardSpaceCreateInfoFBinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static XrKeyboardSpaceCreateInfoFB calloc(org.lwjgl.system.MemoryStack stack)
Returns a newXrKeyboardSpaceCreateInfoFBinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static XrKeyboardSpaceCreateInfoFB.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newXrKeyboardSpaceCreateInfoFB.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static XrKeyboardSpaceCreateInfoFB.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newXrKeyboardSpaceCreateInfoFB.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().
-
ntrackedKeyboardId
public static long ntrackedKeyboardId(long struct)
Unsafe version oftrackedKeyboardId().
-
ntype
public static void ntype(long struct, int value)Unsafe version oftype.
-
nnext
public static void nnext(long struct, long value)Unsafe version ofnext.
-
ntrackedKeyboardId
public static void ntrackedKeyboardId(long struct, long value)Unsafe version oftrackedKeyboardId.
-
-