Package org.lwjgl.vulkan
Class VkPerformanceValueDataINTEL
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkPerformanceValueDataINTEL>
org.lwjgl.vulkan.VkPerformanceValueDataINTEL
- All Implemented Interfaces:
AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPerformanceValueDataINTEL
extends org.lwjgl.system.Struct<VkPerformanceValueDataINTEL>
implements org.lwjgl.system.NativeResource
Values returned for the parameters.
Description
The correct member of the union is determined by the associated VkPerformanceValueTypeINTEL value.
See Also
Layout
union VkPerformanceValueDataINTEL {
uint32_t value32();
uint64_t value64();
float valueFloat();
VkBool32 valueBool();
char const * valueString();
}-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
org.lwjgl.system.Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
org.lwjgl.system.Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct size 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.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionVkPerformanceValueDataINTEL(ByteBuffer container) Creates aVkPerformanceValueDataINTELinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkPerformanceValueDataINTELcalloc()Returns a newVkPerformanceValueDataINTELinstance allocated withmemCalloc.calloc(int capacity) Returns a newVkPerformanceValueDataINTEL.Bufferinstance allocated withmemCalloc.calloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newVkPerformanceValueDataINTEL.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPerformanceValueDataINTELcalloc(org.lwjgl.system.MemoryStack stack) Returns a newVkPerformanceValueDataINTELinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPerformanceValueDataINTELDeprecated.callocStack(int capacity) Deprecated.callocStack(int capacity, org.lwjgl.system.MemoryStack stack) Deprecated.static VkPerformanceValueDataINTELcallocStack(org.lwjgl.system.MemoryStack stack) Deprecated.static VkPerformanceValueDataINTELcreate()Returns a newVkPerformanceValueDataINTELinstance allocated withBufferUtils.create(int capacity) Returns a newVkPerformanceValueDataINTEL.Bufferinstance allocated withBufferUtils.static VkPerformanceValueDataINTELcreate(long address) Returns a newVkPerformanceValueDataINTELinstance for the specified memory address.create(long address, int capacity) Create aVkPerformanceValueDataINTEL.Bufferinstance at the specified memory.static @Nullable VkPerformanceValueDataINTELcreateSafe(long address) static @Nullable VkPerformanceValueDataINTEL.BuffercreateSafe(long address, int capacity) static VkPerformanceValueDataINTELmalloc()Returns a newVkPerformanceValueDataINTELinstance allocated withmemAlloc.malloc(int capacity) Returns a newVkPerformanceValueDataINTEL.Bufferinstance allocated withmemAlloc.malloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newVkPerformanceValueDataINTEL.Bufferinstance allocated on the specifiedMemoryStack.static VkPerformanceValueDataINTELmalloc(org.lwjgl.system.MemoryStack stack) Returns a newVkPerformanceValueDataINTELinstance allocated on the specifiedMemoryStack.static VkPerformanceValueDataINTELDeprecated.mallocStack(int capacity) Deprecated.mallocStack(int capacity, org.lwjgl.system.MemoryStack stack) Deprecated.static VkPerformanceValueDataINTELmallocStack(org.lwjgl.system.MemoryStack stack) Deprecated.static intnvalue32(long struct) Unsafe version ofvalue32().static voidnvalue32(long struct, int value) Unsafe version ofvalue32.static longnvalue64(long struct) Unsafe version ofvalue64().static voidnvalue64(long struct, long value) Unsafe version ofvalue64.static intnvalueBool(long struct) Unsafe version ofvalueBool().static voidnvalueBool(long struct, int value) Unsafe version ofvalueBool.static floatnvalueFloat(long struct) Unsafe version ofvalueFloat().static voidnvalueFloat(long struct, float value) Unsafe version ofvalueFloat.static ByteBuffernvalueString(long struct) Unsafe version ofvalueString().static voidnvalueString(long struct, ByteBuffer value) Unsafe version ofvalueString.static StringnvalueStringString(long struct) Unsafe version ofvalueStringString().Copies the specified struct data to this struct.intsizeof()intvalue32()represents 32-bit integer data.value32(int value) Sets the specified value to thevalue32()field.longvalue64()represents 64-bit integer data.value64(long value) Sets the specified value to thevalue64()field.booleanrepresentsVkBool32data.valueBool(boolean value) Sets the specified value to thevalueBool()field.floatrepresents floating-point data.valueFloat(float value) Sets the specified value to thevalueFloat()field.represents a pointer to a null-terminated UTF-8 string.valueString(ByteBuffer value) Sets the address of the specified encoded string to thevalueString()field.represents a pointer to a null-terminated UTF-8 string.Methods inherited from class org.lwjgl.system.Struct
clear, free, isNull, validate, validateMethods 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. -
VALUE32
public static final int VALUE32The struct member offsets. -
VALUE64
public static final int VALUE64The struct member offsets. -
VALUEFLOAT
public static final int VALUEFLOATThe struct member offsets. -
VALUEBOOL
public static final int VALUEBOOLThe struct member offsets. -
VALUESTRING
public static final int VALUESTRINGThe struct member offsets.
-
-
Constructor Details
-
VkPerformanceValueDataINTEL
Creates aVkPerformanceValueDataINTELinstance 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()- Specified by:
sizeofin classorg.lwjgl.system.Struct<VkPerformanceValueDataINTEL>
-
value32
public int value32()represents 32-bit integer data. -
value64
public long value64()represents 64-bit integer data. -
valueFloat
public float valueFloat()represents floating-point data. -
valueBool
public boolean valueBool()representsVkBool32data. -
valueString
represents a pointer to a null-terminated UTF-8 string. -
valueStringString
represents a pointer to a null-terminated UTF-8 string. -
value32
Sets the specified value to thevalue32()field. -
value64
Sets the specified value to thevalue64()field. -
valueFloat
Sets the specified value to thevalueFloat()field. -
valueBool
Sets the specified value to thevalueBool()field. -
valueString
Sets the address of the specified encoded string to thevalueString()field. -
set
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
Returns a newVkPerformanceValueDataINTELinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newVkPerformanceValueDataINTELinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newVkPerformanceValueDataINTELinstance allocated withBufferUtils. -
create
Returns a newVkPerformanceValueDataINTELinstance for the specified memory address. -
createSafe
-
malloc
Returns a newVkPerformanceValueDataINTEL.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newVkPerformanceValueDataINTEL.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newVkPerformanceValueDataINTEL.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aVkPerformanceValueDataINTEL.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead. -
mallocStack
@Deprecated public static VkPerformanceValueDataINTEL mallocStack(org.lwjgl.system.MemoryStack stack) Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead. -
callocStack
@Deprecated public static VkPerformanceValueDataINTEL callocStack(org.lwjgl.system.MemoryStack stack) Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead. -
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead. -
mallocStack
@Deprecated public static VkPerformanceValueDataINTEL.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack) Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead. -
callocStack
@Deprecated public static VkPerformanceValueDataINTEL.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack) Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead. -
malloc
Returns a newVkPerformanceValueDataINTELinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newVkPerformanceValueDataINTELinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPerformanceValueDataINTEL.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newVkPerformanceValueDataINTEL.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
public static VkPerformanceValueDataINTEL.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newVkPerformanceValueDataINTEL.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
nvalue32
public static int nvalue32(long struct) Unsafe version ofvalue32(). -
nvalue64
public static long nvalue64(long struct) Unsafe version ofvalue64(). -
nvalueFloat
public static float nvalueFloat(long struct) Unsafe version ofvalueFloat(). -
nvalueBool
public static int nvalueBool(long struct) Unsafe version ofvalueBool(). -
nvalueString
Unsafe version ofvalueString(). -
nvalueStringString
Unsafe version ofvalueStringString(). -
nvalue32
public static void nvalue32(long struct, int value) Unsafe version ofvalue32. -
nvalue64
public static void nvalue64(long struct, long value) Unsafe version ofvalue64. -
nvalueFloat
public static void nvalueFloat(long struct, float value) Unsafe version ofvalueFloat. -
nvalueBool
public static void nvalueBool(long struct, int value) Unsafe version ofvalueBool. -
nvalueString
Unsafe version ofvalueString.
-