Package org.lwjgl.openxr
Class XrActiveActionSetPriorityEXT
- All Implemented Interfaces:
AutoCloseable,NativeResource,Pointer
public class XrActiveActionSetPriorityEXT
extends Struct<XrActiveActionSetPriorityEXT>
implements NativeResource
struct XrActiveActionSetPriorityEXT {
XrActionSet actionSet;
uint32_t priorityOverride;
}-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct member offsets.static final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct size in bytes.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionXrActiveActionSetPriorityEXT(ByteBuffer container) Creates aXrActiveActionSetPriorityEXTinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionlongactionSet(XrActionSet value) Sets the specified value to theactionSetfield.static XrActiveActionSetPriorityEXTcalloc()Returns a newXrActiveActionSetPriorityEXTinstance allocated withmemCalloc.calloc(int capacity) Returns a newXrActiveActionSetPriorityEXT.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newXrActiveActionSetPriorityEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static XrActiveActionSetPriorityEXTcalloc(MemoryStack stack) Returns a newXrActiveActionSetPriorityEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static XrActiveActionSetPriorityEXTcreate()Returns a newXrActiveActionSetPriorityEXTinstance allocated withBufferUtils.create(int capacity) Returns a newXrActiveActionSetPriorityEXT.Bufferinstance allocated withBufferUtils.static XrActiveActionSetPriorityEXTcreate(long address) Returns a newXrActiveActionSetPriorityEXTinstance for the specified memory address.create(long address, int capacity) Create aXrActiveActionSetPriorityEXT.Bufferinstance at the specified memory.static @Nullable XrActiveActionSetPriorityEXTcreateSafe(long address) static @Nullable XrActiveActionSetPriorityEXT.BuffercreateSafe(long address, int capacity) static XrActiveActionSetPriorityEXTmalloc()Returns a newXrActiveActionSetPriorityEXTinstance allocated withmemAlloc.malloc(int capacity) Returns a newXrActiveActionSetPriorityEXT.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newXrActiveActionSetPriorityEXT.Bufferinstance allocated on the specifiedMemoryStack.static XrActiveActionSetPriorityEXTmalloc(MemoryStack stack) Returns a newXrActiveActionSetPriorityEXTinstance allocated on the specifiedMemoryStack.static longnactionSet(long struct) Unsafe version ofactionSet().static voidnactionSet(long struct, XrActionSet value) Unsafe version ofactionSet.static intnpriorityOverride(long struct) Unsafe version ofpriorityOverride().static voidnpriorityOverride(long struct, int value) Unsafe version ofpriorityOverride.intpriorityOverride(int value) Sets the specified value to thepriorityOverridefield.set(XrActionSet actionSet, int priorityOverride) Initializes this struct with the specified values.Copies the specified struct data to this struct.intsizeof()Returnssizeof(struct).static voidvalidate(long struct) Validates pointer members that should not beNULL.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
ACTIONSET
public static final int ACTIONSETThe struct member offsets. -
PRIORITYOVERRIDE
public static final int PRIORITYOVERRIDEThe struct member offsets.
-
-
Constructor Details
-
XrActiveActionSetPriorityEXT
Creates aXrActiveActionSetPriorityEXTinstance 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 Details
-
sizeof
public int sizeof()Description copied from class:StructReturnssizeof(struct).- Specified by:
sizeofin classStruct<XrActiveActionSetPriorityEXT>
-
actionSet
public long actionSet()- Returns:
- the value of the
actionSetfield.
-
priorityOverride
public int priorityOverride()- Returns:
- the value of the
priorityOverridefield.
-
actionSet
Sets the specified value to theactionSetfield. -
priorityOverride
Sets the specified value to thepriorityOverridefield. -
set
Initializes this struct with the specified values. -
set
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
Returns a newXrActiveActionSetPriorityEXTinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newXrActiveActionSetPriorityEXTinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newXrActiveActionSetPriorityEXTinstance allocated withBufferUtils. -
create
Returns a newXrActiveActionSetPriorityEXTinstance for the specified memory address. -
createSafe
-
malloc
Returns a newXrActiveActionSetPriorityEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newXrActiveActionSetPriorityEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newXrActiveActionSetPriorityEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aXrActiveActionSetPriorityEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
malloc
Returns a newXrActiveActionSetPriorityEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newXrActiveActionSetPriorityEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newXrActiveActionSetPriorityEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newXrActiveActionSetPriorityEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
nactionSet
public static long nactionSet(long struct) Unsafe version ofactionSet(). -
npriorityOverride
public static int npriorityOverride(long struct) Unsafe version ofpriorityOverride(). -
nactionSet
Unsafe version ofactionSet. -
npriorityOverride
public static void npriorityOverride(long struct, int value) Unsafe version ofpriorityOverride. -
validate
public static void validate(long struct) Validates pointer members that should not beNULL.- Parameters:
struct- the struct to validate
-