Package org.lwjgl.openxr
Class XrDigitalLensControlALMALENCE
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.openxr.XrDigitalLensControlALMALENCE
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class XrDigitalLensControlALMALENCE extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceThe digital lens control structure to be passed to change state of DLVR API Layer.Valid Usage (Implicit)
- The
XR_ALMALENCE_digital_lens_controlextension must be enabled prior to usingXrDigitalLensControlALMALENCE typemust beTYPE_DIGITAL_LENS_CONTROL_ALMALENCEnextmust beNULLor a valid pointer to the next structure in a structure chainflagsmust be a valid combination ofXrDigitalLensControlFlagBitsALMALENCEvaluesflagsmust not be 0
See Also
SetDigitalLensControlALMALENCELayout
struct XrDigitalLensControlALMALENCE { XrStructureTypetype(); void const *next(); XrDigitalLensControlFlagsALMALENCEflags(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classXrDigitalLensControlALMALENCE.BufferAn array ofXrDigitalLensControlALMALENCEstructs.
-
Constructor Summary
Constructors Constructor Description XrDigitalLensControlALMALENCE(java.nio.ByteBuffer container)Creates aXrDigitalLensControlALMALENCEinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static XrDigitalLensControlALMALENCEcalloc()Returns a newXrDigitalLensControlALMALENCEinstance allocated withmemCalloc.static XrDigitalLensControlALMALENCE.Buffercalloc(int capacity)Returns a newXrDigitalLensControlALMALENCE.Bufferinstance allocated withmemCalloc.static XrDigitalLensControlALMALENCE.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newXrDigitalLensControlALMALENCE.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static XrDigitalLensControlALMALENCEcalloc(org.lwjgl.system.MemoryStack stack)Returns a newXrDigitalLensControlALMALENCEinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static XrDigitalLensControlALMALENCEcreate()Returns a newXrDigitalLensControlALMALENCEinstance allocated withBufferUtils.static XrDigitalLensControlALMALENCE.Buffercreate(int capacity)Returns a newXrDigitalLensControlALMALENCE.Bufferinstance allocated withBufferUtils.static XrDigitalLensControlALMALENCEcreate(long address)Returns a newXrDigitalLensControlALMALENCEinstance for the specified memory address.static XrDigitalLensControlALMALENCE.Buffercreate(long address, int capacity)Create aXrDigitalLensControlALMALENCE.Bufferinstance at the specified memory.static XrDigitalLensControlALMALENCEcreateSafe(long address)static XrDigitalLensControlALMALENCE.BuffercreateSafe(long address, int capacity)longflags()a bitmask ofXrDigitalLensControlFlagBitsALMALENCEindicating various characteristics desired for the Digital Lens.XrDigitalLensControlALMALENCEflags(long value)Sets the specified value to theflags()field.static XrDigitalLensControlALMALENCEmalloc()Returns a newXrDigitalLensControlALMALENCEinstance allocated withmemAlloc.static XrDigitalLensControlALMALENCE.Buffermalloc(int capacity)Returns a newXrDigitalLensControlALMALENCE.Bufferinstance allocated withmemAlloc.static XrDigitalLensControlALMALENCE.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newXrDigitalLensControlALMALENCE.Bufferinstance allocated on the specifiedMemoryStack.static XrDigitalLensControlALMALENCEmalloc(org.lwjgl.system.MemoryStack stack)Returns a newXrDigitalLensControlALMALENCEinstance allocated on the specifiedMemoryStack.longnext()must beNULL.XrDigitalLensControlALMALENCEnext(long value)Sets the specified value to thenext()field.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.XrDigitalLensControlALMALENCEset(int type, long next, long flags)Initializes this struct with the specified values.XrDigitalLensControlALMALENCEset(XrDigitalLensControlALMALENCE src)Copies the specified struct data to this struct.intsizeof()inttype()theXrStructureTypeof this structure.XrDigitalLensControlALMALENCEtype(int value)Sets the specified value to thetype()field.XrDigitalLensControlALMALENCEtype$Default()Sets theTYPE_DIGITAL_LENS_CONTROL_ALMALENCEvalue to thetype()field.
-
-
-
Constructor Detail
-
XrDigitalLensControlALMALENCE
public XrDigitalLensControlALMALENCE(java.nio.ByteBuffer container)
Creates aXrDigitalLensControlALMALENCEinstance 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()
must beNULL. No such structures are defined in core OpenXR or this extension.
-
flags
public long flags()
a bitmask ofXrDigitalLensControlFlagBitsALMALENCEindicating various characteristics desired for the Digital Lens.
-
type
public XrDigitalLensControlALMALENCE type(int value)
Sets the specified value to thetype()field.
-
type$Default
public XrDigitalLensControlALMALENCE type$Default()
Sets theTYPE_DIGITAL_LENS_CONTROL_ALMALENCEvalue to thetype()field.
-
next
public XrDigitalLensControlALMALENCE next(long value)
Sets the specified value to thenext()field.
-
flags
public XrDigitalLensControlALMALENCE flags(long value)
Sets the specified value to theflags()field.
-
set
public XrDigitalLensControlALMALENCE set(int type, long next, long flags)
Initializes this struct with the specified values.
-
set
public XrDigitalLensControlALMALENCE set(XrDigitalLensControlALMALENCE src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static XrDigitalLensControlALMALENCE malloc()
Returns a newXrDigitalLensControlALMALENCEinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static XrDigitalLensControlALMALENCE calloc()
Returns a newXrDigitalLensControlALMALENCEinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static XrDigitalLensControlALMALENCE create()
Returns a newXrDigitalLensControlALMALENCEinstance allocated withBufferUtils.
-
create
public static XrDigitalLensControlALMALENCE create(long address)
Returns a newXrDigitalLensControlALMALENCEinstance for the specified memory address.
-
createSafe
@Nullable public static XrDigitalLensControlALMALENCE createSafe(long address)
-
malloc
public static XrDigitalLensControlALMALENCE.Buffer malloc(int capacity)
Returns a newXrDigitalLensControlALMALENCE.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static XrDigitalLensControlALMALENCE.Buffer calloc(int capacity)
Returns a newXrDigitalLensControlALMALENCE.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static XrDigitalLensControlALMALENCE.Buffer create(int capacity)
Returns a newXrDigitalLensControlALMALENCE.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static XrDigitalLensControlALMALENCE.Buffer create(long address, int capacity)
Create aXrDigitalLensControlALMALENCE.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static XrDigitalLensControlALMALENCE.Buffer createSafe(long address, int capacity)
-
malloc
public static XrDigitalLensControlALMALENCE malloc(org.lwjgl.system.MemoryStack stack)
Returns a newXrDigitalLensControlALMALENCEinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static XrDigitalLensControlALMALENCE calloc(org.lwjgl.system.MemoryStack stack)
Returns a newXrDigitalLensControlALMALENCEinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static XrDigitalLensControlALMALENCE.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newXrDigitalLensControlALMALENCE.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static XrDigitalLensControlALMALENCE.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newXrDigitalLensControlALMALENCE.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.
-
-