Package org.lwjgl.openxr
Class XrSystemEyeGazeInteractionPropertiesEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.openxr.XrSystemEyeGazeInteractionPropertiesEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class XrSystemEyeGazeInteractionPropertiesEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceEye gaze interaction system properties.Valid Usage (Implicit)
- The
XR_EXT_eye_gaze_interactionextension must be enabled prior to usingXrSystemEyeGazeInteractionPropertiesEXT typemust beTYPE_SYSTEM_EYE_GAZE_INTERACTION_PROPERTIES_EXTnextmust beNULLor a valid pointer to the next structure in a structure chain
Layout
struct XrSystemEyeGazeInteractionPropertiesEXT { XrStructureTypetype(); void *next(); XrBool32supportsEyeGazeInteraction(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classXrSystemEyeGazeInteractionPropertiesEXT.BufferAn array ofXrSystemEyeGazeInteractionPropertiesEXTstructs.
-
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 intSUPPORTSEYEGAZEINTERACTION
TYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description XrSystemEyeGazeInteractionPropertiesEXT(java.nio.ByteBuffer container)Creates aXrSystemEyeGazeInteractionPropertiesEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static XrSystemEyeGazeInteractionPropertiesEXTcalloc()Returns a newXrSystemEyeGazeInteractionPropertiesEXTinstance allocated withmemCalloc.static XrSystemEyeGazeInteractionPropertiesEXT.Buffercalloc(int capacity)Returns a newXrSystemEyeGazeInteractionPropertiesEXT.Bufferinstance allocated withmemCalloc.static XrSystemEyeGazeInteractionPropertiesEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newXrSystemEyeGazeInteractionPropertiesEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static XrSystemEyeGazeInteractionPropertiesEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newXrSystemEyeGazeInteractionPropertiesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static XrSystemEyeGazeInteractionPropertiesEXTcreate()Returns a newXrSystemEyeGazeInteractionPropertiesEXTinstance allocated withBufferUtils.static XrSystemEyeGazeInteractionPropertiesEXT.Buffercreate(int capacity)Returns a newXrSystemEyeGazeInteractionPropertiesEXT.Bufferinstance allocated withBufferUtils.static XrSystemEyeGazeInteractionPropertiesEXTcreate(long address)Returns a newXrSystemEyeGazeInteractionPropertiesEXTinstance for the specified memory address.static XrSystemEyeGazeInteractionPropertiesEXT.Buffercreate(long address, int capacity)Create aXrSystemEyeGazeInteractionPropertiesEXT.Bufferinstance at the specified memory.static XrSystemEyeGazeInteractionPropertiesEXTcreateSafe(long address)static XrSystemEyeGazeInteractionPropertiesEXT.BuffercreateSafe(long address, int capacity)static XrSystemEyeGazeInteractionPropertiesEXTmalloc()Returns a newXrSystemEyeGazeInteractionPropertiesEXTinstance allocated withmemAlloc.static XrSystemEyeGazeInteractionPropertiesEXT.Buffermalloc(int capacity)Returns a newXrSystemEyeGazeInteractionPropertiesEXT.Bufferinstance allocated withmemAlloc.static XrSystemEyeGazeInteractionPropertiesEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newXrSystemEyeGazeInteractionPropertiesEXT.Bufferinstance allocated on the specifiedMemoryStack.static XrSystemEyeGazeInteractionPropertiesEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newXrSystemEyeGazeInteractionPropertiesEXTinstance allocated on the specifiedMemoryStack.longnext()NULLor a pointer to the next structure in a structure chain.XrSystemEyeGazeInteractionPropertiesEXTnext(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 intnsupportsEyeGazeInteraction(long struct)Unsafe version ofsupportsEyeGazeInteraction().static voidnsupportsEyeGazeInteraction(long struct, int value)Unsafe version ofsupportsEyeGazeInteraction.static intntype(long struct)Unsafe version oftype().static voidntype(long struct, int value)Unsafe version oftype.XrSystemEyeGazeInteractionPropertiesEXTset(int type, long next, boolean supportsEyeGazeInteraction)Initializes this struct with the specified values.XrSystemEyeGazeInteractionPropertiesEXTset(XrSystemEyeGazeInteractionPropertiesEXT src)Copies the specified struct data to this struct.intsizeof()booleansupportsEyeGazeInteraction()XrSystemEyeGazeInteractionPropertiesEXTsupportsEyeGazeInteraction(boolean value)Sets the specified value to thesupportsEyeGazeInteraction()field.inttype()theXrStructureTypeof this structure.XrSystemEyeGazeInteractionPropertiesEXTtype(int value)Sets the specified value to thetype()field.XrSystemEyeGazeInteractionPropertiesEXTtype$Default()Sets theTYPE_SYSTEM_EYE_GAZE_INTERACTION_PROPERTIES_EXTvalue to thetype()field.
-
-
-
Constructor Detail
-
XrSystemEyeGazeInteractionPropertiesEXT
public XrSystemEyeGazeInteractionPropertiesEXT(java.nio.ByteBuffer container)
Creates aXrSystemEyeGazeInteractionPropertiesEXTinstance 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. No such structures are defined in core OpenXR or this extension.
-
supportsEyeGazeInteraction
public boolean supportsEyeGazeInteraction()
-
type
public XrSystemEyeGazeInteractionPropertiesEXT type(int value)
Sets the specified value to thetype()field.
-
type$Default
public XrSystemEyeGazeInteractionPropertiesEXT type$Default()
Sets theTYPE_SYSTEM_EYE_GAZE_INTERACTION_PROPERTIES_EXTvalue to thetype()field.
-
next
public XrSystemEyeGazeInteractionPropertiesEXT next(long value)
Sets the specified value to thenext()field.
-
supportsEyeGazeInteraction
public XrSystemEyeGazeInteractionPropertiesEXT supportsEyeGazeInteraction(boolean value)
Sets the specified value to thesupportsEyeGazeInteraction()field.
-
set
public XrSystemEyeGazeInteractionPropertiesEXT set(int type, long next, boolean supportsEyeGazeInteraction)
Initializes this struct with the specified values.
-
set
public XrSystemEyeGazeInteractionPropertiesEXT set(XrSystemEyeGazeInteractionPropertiesEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static XrSystemEyeGazeInteractionPropertiesEXT malloc()
Returns a newXrSystemEyeGazeInteractionPropertiesEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static XrSystemEyeGazeInteractionPropertiesEXT calloc()
Returns a newXrSystemEyeGazeInteractionPropertiesEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static XrSystemEyeGazeInteractionPropertiesEXT create()
Returns a newXrSystemEyeGazeInteractionPropertiesEXTinstance allocated withBufferUtils.
-
create
public static XrSystemEyeGazeInteractionPropertiesEXT create(long address)
Returns a newXrSystemEyeGazeInteractionPropertiesEXTinstance for the specified memory address.
-
createSafe
@Nullable public static XrSystemEyeGazeInteractionPropertiesEXT createSafe(long address)
-
malloc
public static XrSystemEyeGazeInteractionPropertiesEXT.Buffer malloc(int capacity)
Returns a newXrSystemEyeGazeInteractionPropertiesEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static XrSystemEyeGazeInteractionPropertiesEXT.Buffer calloc(int capacity)
Returns a newXrSystemEyeGazeInteractionPropertiesEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static XrSystemEyeGazeInteractionPropertiesEXT.Buffer create(int capacity)
Returns a newXrSystemEyeGazeInteractionPropertiesEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static XrSystemEyeGazeInteractionPropertiesEXT.Buffer create(long address, int capacity)
Create aXrSystemEyeGazeInteractionPropertiesEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static XrSystemEyeGazeInteractionPropertiesEXT.Buffer createSafe(long address, int capacity)
-
malloc
public static XrSystemEyeGazeInteractionPropertiesEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newXrSystemEyeGazeInteractionPropertiesEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static XrSystemEyeGazeInteractionPropertiesEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newXrSystemEyeGazeInteractionPropertiesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static XrSystemEyeGazeInteractionPropertiesEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newXrSystemEyeGazeInteractionPropertiesEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static XrSystemEyeGazeInteractionPropertiesEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newXrSystemEyeGazeInteractionPropertiesEXT.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().
-
nsupportsEyeGazeInteraction
public static int nsupportsEyeGazeInteraction(long struct)
Unsafe version ofsupportsEyeGazeInteraction().
-
ntype
public static void ntype(long struct, int value)Unsafe version oftype.
-
nnext
public static void nnext(long struct, long value)Unsafe version ofnext.
-
nsupportsEyeGazeInteraction
public static void nsupportsEyeGazeInteraction(long struct, int value)Unsafe version ofsupportsEyeGazeInteraction.
-
-