Package org.lwjgl.vulkan
Class VkPerformanceValueDataINTEL
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPerformanceValueDataINTEL
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPerformanceValueDataINTEL extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceValues returned for the parameters.Description
The correct member of the union is determined by the associated
VkPerformanceValueTypeINTELvalue.See Also
Layout
union VkPerformanceValueDataINTEL { uint32_tvalue32(); uint64_tvalue64(); floatvalueFloat(); VkBool32valueBool(); char const *valueString(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPerformanceValueDataINTEL.BufferAn array ofVkPerformanceValueDataINTELstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intSIZEOFThe struct size in bytes.static intVALUE32
VALUE64
VALUEBOOL
VALUEFLOAT
VALUESTRINGThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkPerformanceValueDataINTEL(java.nio.ByteBuffer container)Creates aVkPerformanceValueDataINTELinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static VkPerformanceValueDataINTELcalloc()Returns a newVkPerformanceValueDataINTELinstance allocated withmemCalloc.static VkPerformanceValueDataINTEL.Buffercalloc(int capacity)Returns a newVkPerformanceValueDataINTEL.Bufferinstance allocated withmemCalloc.static VkPerformanceValueDataINTEL.Buffercalloc(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 VkPerformanceValueDataINTELcallocStack()Deprecated.static VkPerformanceValueDataINTEL.BuffercallocStack(int capacity)Deprecated.static VkPerformanceValueDataINTEL.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkPerformanceValueDataINTELcallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static VkPerformanceValueDataINTELcreate()Returns a newVkPerformanceValueDataINTELinstance allocated withBufferUtils.static VkPerformanceValueDataINTEL.Buffercreate(int capacity)Returns a newVkPerformanceValueDataINTEL.Bufferinstance allocated withBufferUtils.static VkPerformanceValueDataINTELcreate(long address)Returns a newVkPerformanceValueDataINTELinstance for the specified memory address.static VkPerformanceValueDataINTEL.Buffercreate(long address, int capacity)Create aVkPerformanceValueDataINTEL.Bufferinstance at the specified memory.static VkPerformanceValueDataINTELcreateSafe(long address)static VkPerformanceValueDataINTEL.BuffercreateSafe(long address, int capacity)static VkPerformanceValueDataINTELmalloc()Returns a newVkPerformanceValueDataINTELinstance allocated withmemAlloc.static VkPerformanceValueDataINTEL.Buffermalloc(int capacity)Returns a newVkPerformanceValueDataINTEL.Bufferinstance allocated withmemAlloc.static VkPerformanceValueDataINTEL.Buffermalloc(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 VkPerformanceValueDataINTELmallocStack()Deprecated.static VkPerformanceValueDataINTEL.BuffermallocStack(int capacity)Deprecated.static VkPerformanceValueDataINTEL.BuffermallocStack(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 java.nio.ByteBuffernvalueString(long struct)Unsafe version ofvalueString().static voidnvalueString(long struct, java.nio.ByteBuffer value)Unsafe version ofvalueString.static java.lang.StringnvalueStringString(long struct)Unsafe version ofvalueStringString().VkPerformanceValueDataINTELset(VkPerformanceValueDataINTEL src)Copies the specified struct data to this struct.intsizeof()intvalue32()represents 32-bit integer data.VkPerformanceValueDataINTELvalue32(int value)Sets the specified value to thevalue32()field.longvalue64()represents 64-bit integer data.VkPerformanceValueDataINTELvalue64(long value)Sets the specified value to thevalue64()field.booleanvalueBool()representsBool32data.VkPerformanceValueDataINTELvalueBool(boolean value)Sets the specified value to thevalueBool()field.floatvalueFloat()represents floating-point data.VkPerformanceValueDataINTELvalueFloat(float value)Sets the specified value to thevalueFloat()field.java.nio.ByteBuffervalueString()represents a pointer to a null-terminated UTF-8 string.VkPerformanceValueDataINTELvalueString(java.nio.ByteBuffer value)Sets the address of the specified encoded string to thevalueString()field.java.lang.StringvalueStringString()represents a pointer to a null-terminated UTF-8 string.
-
-
-
Constructor Detail
-
VkPerformanceValueDataINTEL
public VkPerformanceValueDataINTEL(java.nio.ByteBuffer container)
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 Detail
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
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()
representsBool32data.
-
valueString, valueStringString
public java.nio.ByteBuffer valueString() public java.lang.String valueStringString()
represents a pointer to a null-terminated UTF-8 string.
-
value32
public VkPerformanceValueDataINTEL value32(int value)
Sets the specified value to thevalue32()field.
-
value64
public VkPerformanceValueDataINTEL value64(long value)
Sets the specified value to thevalue64()field.
-
valueFloat
public VkPerformanceValueDataINTEL valueFloat(float value)
Sets the specified value to thevalueFloat()field.
-
valueBool
public VkPerformanceValueDataINTEL valueBool(boolean value)
Sets the specified value to thevalueBool()field.
-
valueString
public VkPerformanceValueDataINTEL valueString(java.nio.ByteBuffer value)
Sets the address of the specified encoded string to thevalueString()field.
-
set
public VkPerformanceValueDataINTEL set(VkPerformanceValueDataINTEL src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPerformanceValueDataINTEL malloc()
Returns a newVkPerformanceValueDataINTELinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPerformanceValueDataINTEL calloc()
Returns a newVkPerformanceValueDataINTELinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPerformanceValueDataINTEL create()
Returns a newVkPerformanceValueDataINTELinstance allocated withBufferUtils.
-
create
public static VkPerformanceValueDataINTEL create(long address)
Returns a newVkPerformanceValueDataINTELinstance for the specified memory address.
-
createSafe
@Nullable public static VkPerformanceValueDataINTEL createSafe(long address)
-
malloc
public static VkPerformanceValueDataINTEL.Buffer malloc(int capacity)
Returns a newVkPerformanceValueDataINTEL.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPerformanceValueDataINTEL.Buffer calloc(int capacity)
Returns a newVkPerformanceValueDataINTEL.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPerformanceValueDataINTEL.Buffer create(int capacity)
Returns a newVkPerformanceValueDataINTEL.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPerformanceValueDataINTEL.Buffer create(long address, int capacity)
Create aVkPerformanceValueDataINTEL.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPerformanceValueDataINTEL.Buffer createSafe(long address, int capacity)
-
mallocStack
@Deprecated public static VkPerformanceValueDataINTEL mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkPerformanceValueDataINTEL 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 public static VkPerformanceValueDataINTEL.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkPerformanceValueDataINTEL.Buffer callocStack(int capacity)
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
public static VkPerformanceValueDataINTEL malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPerformanceValueDataINTELinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPerformanceValueDataINTEL calloc(org.lwjgl.system.MemoryStack stack)
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:
stack- the stack from which to allocatecapacity- the buffer capacity
-
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:
stack- the stack from which to allocatecapacity- the buffer capacity
-
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
public static java.nio.ByteBuffer nvalueString(long struct)
Unsafe version ofvalueString().
-
nvalueStringString
public static java.lang.String nvalueStringString(long struct)
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
public static void nvalueString(long struct, java.nio.ByteBuffer value)Unsafe version ofvalueString.
-
-