Package org.lwjgl.openxr
Class XrSystemKeyboardTrackingPropertiesFB
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.openxr.XrSystemKeyboardTrackingPropertiesFB
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class XrSystemKeyboardTrackingPropertiesFB extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceInformation from the system about tracked keyboard support.Description
XrSystemKeyboardTrackingPropertiesFBis populated with information from the system about tracked keyboard support.Valid Usage (Implicit)
- The
XR_FB_keyboard_trackingextension must be enabled prior to usingXrSystemKeyboardTrackingPropertiesFB typemust beTYPE_SYSTEM_KEYBOARD_TRACKING_PROPERTIES_FBnextmust beNULLor a valid pointer to the next structure in a structure chain
See Also
Layout
struct XrSystemKeyboardTrackingPropertiesFB { XrStructureTypetype(); void *next(); XrBool32supportsKeyboardTracking(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classXrSystemKeyboardTrackingPropertiesFB.BufferAn array ofXrSystemKeyboardTrackingPropertiesFBstructs.
-
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 intSUPPORTSKEYBOARDTRACKING
TYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description XrSystemKeyboardTrackingPropertiesFB(java.nio.ByteBuffer container)Creates aXrSystemKeyboardTrackingPropertiesFBinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static XrSystemKeyboardTrackingPropertiesFBcalloc()Returns a newXrSystemKeyboardTrackingPropertiesFBinstance allocated withmemCalloc.static XrSystemKeyboardTrackingPropertiesFB.Buffercalloc(int capacity)Returns a newXrSystemKeyboardTrackingPropertiesFB.Bufferinstance allocated withmemCalloc.static XrSystemKeyboardTrackingPropertiesFB.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newXrSystemKeyboardTrackingPropertiesFB.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static XrSystemKeyboardTrackingPropertiesFBcalloc(org.lwjgl.system.MemoryStack stack)Returns a newXrSystemKeyboardTrackingPropertiesFBinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static XrSystemKeyboardTrackingPropertiesFBcreate()Returns a newXrSystemKeyboardTrackingPropertiesFBinstance allocated withBufferUtils.static XrSystemKeyboardTrackingPropertiesFB.Buffercreate(int capacity)Returns a newXrSystemKeyboardTrackingPropertiesFB.Bufferinstance allocated withBufferUtils.static XrSystemKeyboardTrackingPropertiesFBcreate(long address)Returns a newXrSystemKeyboardTrackingPropertiesFBinstance for the specified memory address.static XrSystemKeyboardTrackingPropertiesFB.Buffercreate(long address, int capacity)Create aXrSystemKeyboardTrackingPropertiesFB.Bufferinstance at the specified memory.static XrSystemKeyboardTrackingPropertiesFBcreateSafe(long address)static XrSystemKeyboardTrackingPropertiesFB.BuffercreateSafe(long address, int capacity)static XrSystemKeyboardTrackingPropertiesFBmalloc()Returns a newXrSystemKeyboardTrackingPropertiesFBinstance allocated withmemAlloc.static XrSystemKeyboardTrackingPropertiesFB.Buffermalloc(int capacity)Returns a newXrSystemKeyboardTrackingPropertiesFB.Bufferinstance allocated withmemAlloc.static XrSystemKeyboardTrackingPropertiesFB.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newXrSystemKeyboardTrackingPropertiesFB.Bufferinstance allocated on the specifiedMemoryStack.static XrSystemKeyboardTrackingPropertiesFBmalloc(org.lwjgl.system.MemoryStack stack)Returns a newXrSystemKeyboardTrackingPropertiesFBinstance allocated on the specifiedMemoryStack.longnext()NULLor a pointer to the next structure in a structure chain.XrSystemKeyboardTrackingPropertiesFBnext(long value)Sets the specified value to thenext()field.static longnnext(long struct)Unsafe version ofnext().static voidnnext(long struct, long value)Unsafe version ofnext.static intnsupportsKeyboardTracking(long struct)Unsafe version ofsupportsKeyboardTracking().static voidnsupportsKeyboardTracking(long struct, int value)Unsafe version ofsupportsKeyboardTracking.static intntype(long struct)Unsafe version oftype().static voidntype(long struct, int value)Unsafe version oftype.XrSystemKeyboardTrackingPropertiesFBset(int type, long next, boolean supportsKeyboardTracking)Initializes this struct with the specified values.XrSystemKeyboardTrackingPropertiesFBset(XrSystemKeyboardTrackingPropertiesFB src)Copies the specified struct data to this struct.intsizeof()booleansupportsKeyboardTracking()defines whether the system supports the tracked keyboard feature.XrSystemKeyboardTrackingPropertiesFBsupportsKeyboardTracking(boolean value)Sets the specified value to thesupportsKeyboardTracking()field.inttype()theXrStructureTypeof this structure.XrSystemKeyboardTrackingPropertiesFBtype(int value)Sets the specified value to thetype()field.XrSystemKeyboardTrackingPropertiesFBtype$Default()Sets theTYPE_SYSTEM_KEYBOARD_TRACKING_PROPERTIES_FBvalue to thetype()field.
-
-
-
Constructor Detail
-
XrSystemKeyboardTrackingPropertiesFB
public XrSystemKeyboardTrackingPropertiesFB(java.nio.ByteBuffer container)
Creates aXrSystemKeyboardTrackingPropertiesFBinstance 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.
-
supportsKeyboardTracking
public boolean supportsKeyboardTracking()
defines whether the system supports the tracked keyboard feature.
-
type
public XrSystemKeyboardTrackingPropertiesFB type(int value)
Sets the specified value to thetype()field.
-
type$Default
public XrSystemKeyboardTrackingPropertiesFB type$Default()
Sets theTYPE_SYSTEM_KEYBOARD_TRACKING_PROPERTIES_FBvalue to thetype()field.
-
next
public XrSystemKeyboardTrackingPropertiesFB next(long value)
Sets the specified value to thenext()field.
-
supportsKeyboardTracking
public XrSystemKeyboardTrackingPropertiesFB supportsKeyboardTracking(boolean value)
Sets the specified value to thesupportsKeyboardTracking()field.
-
set
public XrSystemKeyboardTrackingPropertiesFB set(int type, long next, boolean supportsKeyboardTracking)
Initializes this struct with the specified values.
-
set
public XrSystemKeyboardTrackingPropertiesFB set(XrSystemKeyboardTrackingPropertiesFB src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static XrSystemKeyboardTrackingPropertiesFB malloc()
Returns a newXrSystemKeyboardTrackingPropertiesFBinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static XrSystemKeyboardTrackingPropertiesFB calloc()
Returns a newXrSystemKeyboardTrackingPropertiesFBinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static XrSystemKeyboardTrackingPropertiesFB create()
Returns a newXrSystemKeyboardTrackingPropertiesFBinstance allocated withBufferUtils.
-
create
public static XrSystemKeyboardTrackingPropertiesFB create(long address)
Returns a newXrSystemKeyboardTrackingPropertiesFBinstance for the specified memory address.
-
createSafe
@Nullable public static XrSystemKeyboardTrackingPropertiesFB createSafe(long address)
-
malloc
public static XrSystemKeyboardTrackingPropertiesFB.Buffer malloc(int capacity)
Returns a newXrSystemKeyboardTrackingPropertiesFB.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static XrSystemKeyboardTrackingPropertiesFB.Buffer calloc(int capacity)
Returns a newXrSystemKeyboardTrackingPropertiesFB.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static XrSystemKeyboardTrackingPropertiesFB.Buffer create(int capacity)
Returns a newXrSystemKeyboardTrackingPropertiesFB.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static XrSystemKeyboardTrackingPropertiesFB.Buffer create(long address, int capacity)
Create aXrSystemKeyboardTrackingPropertiesFB.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static XrSystemKeyboardTrackingPropertiesFB.Buffer createSafe(long address, int capacity)
-
malloc
public static XrSystemKeyboardTrackingPropertiesFB malloc(org.lwjgl.system.MemoryStack stack)
Returns a newXrSystemKeyboardTrackingPropertiesFBinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static XrSystemKeyboardTrackingPropertiesFB calloc(org.lwjgl.system.MemoryStack stack)
Returns a newXrSystemKeyboardTrackingPropertiesFBinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static XrSystemKeyboardTrackingPropertiesFB.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newXrSystemKeyboardTrackingPropertiesFB.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static XrSystemKeyboardTrackingPropertiesFB.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newXrSystemKeyboardTrackingPropertiesFB.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().
-
nsupportsKeyboardTracking
public static int nsupportsKeyboardTracking(long struct)
Unsafe version ofsupportsKeyboardTracking().
-
ntype
public static void ntype(long struct, int value)Unsafe version oftype.
-
nnext
public static void nnext(long struct, long value)Unsafe version ofnext.
-
nsupportsKeyboardTracking
public static void nsupportsKeyboardTracking(long struct, int value)Unsafe version ofsupportsKeyboardTracking.
-
-