Class RENDERDOC_AnnotationVectorValue
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<RENDERDOC_AnnotationVectorValue>
org.lwjgl.util.renderdoc.RENDERDOC_AnnotationVectorValue
- All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer
public class RENDERDOC_AnnotationVectorValue
extends Struct<RENDERDOC_AnnotationVectorValue>
implements NativeResource
union RENDERDOC_AnnotationVectorValue {
bool boolean[4];
int32_t int32[4];
int64_t int64[4];
uint32_t uint32[4];
uint64_t uint64[4];
float float32[4];
double float64[4];
}-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAn array ofRENDERDOC_AnnotationVectorValuestructs.Nested classes/interfaces inherited from class Struct
Struct.StructValidationNested classes/interfaces inherited from interface Pointer
Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.static final intThe struct member offsets.static final intThe struct member offsets.Fields inherited from interface Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionRENDERDOC_AnnotationVectorValue(ByteBuffer container) Creates aRENDERDOC_AnnotationVectorValueinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionboolean$()booleanboolean$(int index) boolean$(int index, boolean value) Sets the specified value at the specified index of thebooleanfield.boolean$(ByteBuffer value) Copies the specifiedByteBufferto thebooleanfield.calloc()Returns a newRENDERDOC_AnnotationVectorValueinstance allocated withmemCalloc.calloc(int capacity) Returns a newRENDERDOC_AnnotationVectorValue.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newRENDERDOC_AnnotationVectorValue.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.calloc(MemoryStack stack) Returns a newRENDERDOC_AnnotationVectorValueinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.create()Returns a newRENDERDOC_AnnotationVectorValueinstance allocated withBufferUtils.create(int capacity) Returns a newRENDERDOC_AnnotationVectorValue.Bufferinstance allocated withBufferUtils.create(long address) Returns a newRENDERDOC_AnnotationVectorValueinstance for the specified memory address.create(long address, int capacity) Create aRENDERDOC_AnnotationVectorValue.Bufferinstance at the specified memory.static @Nullable RENDERDOC_AnnotationVectorValuecreateSafe(long address) static @Nullable RENDERDOC_AnnotationVectorValue.BuffercreateSafe(long address, int capacity) float32()floatfloat32(int index) float32(int index, float value) Sets the specified value at the specified index of thefloat32field.float32(FloatBuffer value) Copies the specifiedFloatBufferto thefloat32field.float64()doublefloat64(int index) float64(int index, double value) Sets the specified value at the specified index of thefloat64field.float64(DoubleBuffer value) Copies the specifiedDoubleBufferto thefloat64field.int32()intint32(int index) int32(int index, int value) Sets the specified value at the specified index of theint32field.Copies the specifiedIntBufferto theint32field.int64()longint64(int index) int64(int index, long value) Sets the specified value at the specified index of theint64field.int64(LongBuffer value) Copies the specifiedLongBufferto theint64field.malloc()Returns a newRENDERDOC_AnnotationVectorValueinstance allocated withmemAlloc.malloc(int capacity) Returns a newRENDERDOC_AnnotationVectorValue.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newRENDERDOC_AnnotationVectorValue.Bufferinstance allocated on the specifiedMemoryStack.malloc(MemoryStack stack) Returns a newRENDERDOC_AnnotationVectorValueinstance allocated on the specifiedMemoryStack.static ByteBuffernboolean$(long struct) Unsafe version ofboolean$().static booleannboolean$(long struct, int index) Unsafe version ofboolean$.static voidnboolean$(long struct, int index, boolean value) Unsafe version ofboolean$.static voidnboolean$(long struct, ByteBuffer value) Unsafe version ofboolean$.static FloatBuffernfloat32(long struct) Unsafe version offloat32().static floatnfloat32(long struct, int index) Unsafe version offloat32.static voidnfloat32(long struct, int index, float value) Unsafe version offloat32.static voidnfloat32(long struct, FloatBuffer value) Unsafe version offloat32.static DoubleBuffernfloat64(long struct) Unsafe version offloat64().static doublenfloat64(long struct, int index) Unsafe version offloat64.static voidnfloat64(long struct, int index, double value) Unsafe version offloat64.static voidnfloat64(long struct, DoubleBuffer value) Unsafe version offloat64.static IntBuffernint32(long struct) Unsafe version ofint32().static intnint32(long struct, int index) Unsafe version ofint32.static voidnint32(long struct, int index, int value) Unsafe version ofint32.static voidUnsafe version ofint32.static LongBuffernint64(long struct) Unsafe version ofint64().static longnint64(long struct, int index) Unsafe version ofint64.static voidnint64(long struct, int index, long value) Unsafe version ofint64.static voidnint64(long struct, LongBuffer value) Unsafe version ofint64.static IntBuffernuint32(long struct) Unsafe version ofuint32().static intnuint32(long struct, int index) Unsafe version ofuint32.static voidnuint32(long struct, int index, int value) Unsafe version ofuint32.static voidUnsafe version ofuint32.static LongBuffernuint64(long struct) Unsafe version ofuint64().static longnuint64(long struct, int index) Unsafe version ofuint64.static voidnuint64(long struct, int index, long value) Unsafe version ofuint64.static voidnuint64(long struct, LongBuffer value) Unsafe version ofuint64.Copies the specified struct data to this struct.intsizeof()Returnssizeof(struct).uint32()intuint32(int index) uint32(int index, int value) Sets the specified value at the specified index of theuint32field.Copies the specifiedIntBufferto theuint32field.uint64()longuint64(int index) uint64(int index, long value) Sets the specified value at the specified index of theuint64field.uint64(LongBuffer value) Copies the specifiedLongBufferto theuint64field.Methods inherited from class Pointer.Default
address, equals, hashCode, toStringMethods inherited from interface 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. -
BOOLEAN
public static final int BOOLEANThe struct member offsets. -
INT32
public static final int INT32The struct member offsets. -
INT64
public static final int INT64The struct member offsets. -
UINT32
public static final int UINT32The struct member offsets. -
UINT64
public static final int UINT64The struct member offsets. -
FLOAT32
public static final int FLOAT32The struct member offsets. -
FLOAT64
public static final int FLOAT64The struct member offsets.
-
-
Constructor Details
-
RENDERDOC_AnnotationVectorValue
Creates aRENDERDOC_AnnotationVectorValueinstance 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<RENDERDOC_AnnotationVectorValue>
-
boolean$
- Returns:
- a
ByteBufferview of thebooleanfield.
-
boolean$
- Returns:
- the value at the specified index of the
booleanfield.
-
int32
- Returns:
- a
IntBufferview of theint32field.
-
int32
- Returns:
- the value at the specified index of the
int32field.
-
int64
- Returns:
- a
LongBufferview of theint64field.
-
int64
- Returns:
- the value at the specified index of the
int64field.
-
uint32
- Returns:
- a
IntBufferview of theuint32field.
-
uint32
- Returns:
- the value at the specified index of the
uint32field.
-
uint64
- Returns:
- a
LongBufferview of theuint64field.
-
uint64
- Returns:
- the value at the specified index of the
uint64field.
-
float32
- Returns:
- a
FloatBufferview of thefloat32field.
-
float32
public float float32(int index) - Returns:
- the value at the specified index of the
float32field.
-
float64
- Returns:
- a
DoubleBufferview of thefloat64field.
-
float64
public double float64(int index) - Returns:
- the value at the specified index of the
float64field.
-
boolean$
Copies the specifiedByteBufferto thebooleanfield. -
boolean$
Sets the specified value at the specified index of thebooleanfield. -
int32
Copies the specifiedIntBufferto theint32field. -
int32
Sets the specified value at the specified index of theint32field. -
int64
Copies the specifiedLongBufferto theint64field. -
int64
Sets the specified value at the specified index of theint64field. -
uint32
Copies the specifiedIntBufferto theuint32field. -
uint32
Sets the specified value at the specified index of theuint32field. -
uint64
Copies the specifiedLongBufferto theuint64field. -
uint64
Sets the specified value at the specified index of theuint64field. -
float32
Copies the specifiedFloatBufferto thefloat32field. -
float32
Sets the specified value at the specified index of thefloat32field. -
float64
Copies the specifiedDoubleBufferto thefloat64field. -
float64
Sets the specified value at the specified index of thefloat64field. -
set
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
Returns a newRENDERDOC_AnnotationVectorValueinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newRENDERDOC_AnnotationVectorValueinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newRENDERDOC_AnnotationVectorValueinstance allocated withBufferUtils. -
create
Returns a newRENDERDOC_AnnotationVectorValueinstance for the specified memory address. -
createSafe
-
malloc
Returns a newRENDERDOC_AnnotationVectorValue.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newRENDERDOC_AnnotationVectorValue.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newRENDERDOC_AnnotationVectorValue.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aRENDERDOC_AnnotationVectorValue.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
public static @Nullable RENDERDOC_AnnotationVectorValue.Buffer createSafe(long address, int capacity) -
malloc
Returns a newRENDERDOC_AnnotationVectorValueinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newRENDERDOC_AnnotationVectorValueinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newRENDERDOC_AnnotationVectorValue.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newRENDERDOC_AnnotationVectorValue.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
nboolean$
Unsafe version ofboolean$(). -
nboolean$
public static boolean nboolean$(long struct, int index) Unsafe version ofboolean$. -
nint32
-
nint32
public static int nint32(long struct, int index) Unsafe version ofint32. -
nint64
Unsafe version ofint64(). -
nint64
public static long nint64(long struct, int index) Unsafe version ofint64. -
nuint32
-
nuint32
public static int nuint32(long struct, int index) Unsafe version ofuint32. -
nuint64
Unsafe version ofuint64(). -
nuint64
public static long nuint64(long struct, int index) Unsafe version ofuint64. -
nfloat32
Unsafe version offloat32(). -
nfloat32
public static float nfloat32(long struct, int index) Unsafe version offloat32. -
nfloat64
Unsafe version offloat64(). -
nfloat64
public static double nfloat64(long struct, int index) Unsafe version offloat64. -
nboolean$
Unsafe version ofboolean$. -
nboolean$
public static void nboolean$(long struct, int index, boolean value) Unsafe version ofboolean$. -
nint32
-
nint32
public static void nint32(long struct, int index, int value) Unsafe version ofint32. -
nint64
Unsafe version ofint64. -
nint64
public static void nint64(long struct, int index, long value) Unsafe version ofint64. -
nuint32
-
nuint32
public static void nuint32(long struct, int index, int value) Unsafe version ofuint32. -
nuint64
Unsafe version ofuint64. -
nuint64
public static void nuint64(long struct, int index, long value) Unsafe version ofuint64. -
nfloat32
Unsafe version offloat32. -
nfloat32
public static void nfloat32(long struct, int index, float value) Unsafe version offloat32. -
nfloat64
Unsafe version offloat64. -
nfloat64
public static void nfloat64(long struct, int index, double value) Unsafe version offloat64.
-