public class VkPerformanceCounterResultKHR
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
union VkPerformanceCounterResultKHR {
int32_t int32;
int64_t int64;
uint32_t uint32;
uint64_t uint64;
float float32;
double float64;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPerformanceCounterResultKHR.Buffer
An array of
VkPerformanceCounterResultKHR structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
FLOAT32
The struct member offsets.
|
static int |
FLOAT64
The struct member offsets.
|
static int |
INT32
The struct member offsets.
|
static int |
INT64
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
UINT32
The struct member offsets.
|
static int |
UINT64
The struct member offsets.
|
| Constructor and Description |
|---|
VkPerformanceCounterResultKHR(java.nio.ByteBuffer container)
Creates a
VkPerformanceCounterResultKHR instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPerformanceCounterResultKHR |
calloc()
Returns a new
VkPerformanceCounterResultKHR instance allocated with memCalloc. |
static VkPerformanceCounterResultKHR.Buffer |
calloc(int capacity)
Returns a new
VkPerformanceCounterResultKHR.Buffer instance allocated with memCalloc. |
static VkPerformanceCounterResultKHR |
callocStack()
Returns a new
VkPerformanceCounterResultKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPerformanceCounterResultKHR.Buffer |
callocStack(int capacity)
Returns a new
VkPerformanceCounterResultKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPerformanceCounterResultKHR.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPerformanceCounterResultKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPerformanceCounterResultKHR |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPerformanceCounterResultKHR instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPerformanceCounterResultKHR |
create()
Returns a new
VkPerformanceCounterResultKHR instance allocated with BufferUtils. |
static VkPerformanceCounterResultKHR.Buffer |
create(int capacity)
Returns a new
VkPerformanceCounterResultKHR.Buffer instance allocated with BufferUtils. |
static VkPerformanceCounterResultKHR |
create(long address)
Returns a new
VkPerformanceCounterResultKHR instance for the specified memory address. |
static VkPerformanceCounterResultKHR.Buffer |
create(long address,
int capacity)
Create a
VkPerformanceCounterResultKHR.Buffer instance at the specified memory. |
static VkPerformanceCounterResultKHR |
createSafe(long address)
|
static VkPerformanceCounterResultKHR.Buffer |
createSafe(long address,
int capacity)
|
float |
float32()
Returns the value of the
float32 field. |
VkPerformanceCounterResultKHR |
float32(float value)
Sets the specified value to the
float32 field. |
double |
float64()
Returns the value of the
float64 field. |
VkPerformanceCounterResultKHR |
float64(double value)
Sets the specified value to the
float64 field. |
int |
int32()
Returns the value of the
int32 field. |
VkPerformanceCounterResultKHR |
int32(int value)
Sets the specified value to the
int32 field. |
long |
int64()
Returns the value of the
int64 field. |
VkPerformanceCounterResultKHR |
int64(long value)
Sets the specified value to the
int64 field. |
static VkPerformanceCounterResultKHR |
malloc()
Returns a new
VkPerformanceCounterResultKHR instance allocated with memAlloc. |
static VkPerformanceCounterResultKHR.Buffer |
malloc(int capacity)
Returns a new
VkPerformanceCounterResultKHR.Buffer instance allocated with memAlloc. |
static VkPerformanceCounterResultKHR |
mallocStack()
Returns a new
VkPerformanceCounterResultKHR instance allocated on the thread-local MemoryStack. |
static VkPerformanceCounterResultKHR.Buffer |
mallocStack(int capacity)
Returns a new
VkPerformanceCounterResultKHR.Buffer instance allocated on the thread-local MemoryStack. |
static VkPerformanceCounterResultKHR.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPerformanceCounterResultKHR.Buffer instance allocated on the specified MemoryStack. |
static VkPerformanceCounterResultKHR |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPerformanceCounterResultKHR instance allocated on the specified MemoryStack. |
static float |
nfloat32(long struct)
Unsafe version of
float32(). |
static void |
nfloat32(long struct,
float value)
Unsafe version of
float32. |
static double |
nfloat64(long struct)
Unsafe version of
float64(). |
static void |
nfloat64(long struct,
double value)
Unsafe version of
float64. |
static int |
nint32(long struct)
Unsafe version of
int32(). |
static void |
nint32(long struct,
int value)
Unsafe version of
int32. |
static long |
nint64(long struct)
Unsafe version of
int64(). |
static void |
nint64(long struct,
long value)
Unsafe version of
int64. |
static int |
nuint32(long struct)
Unsafe version of
uint32(). |
static void |
nuint32(long struct,
int value)
Unsafe version of
uint32. |
static long |
nuint64(long struct)
Unsafe version of
uint64(). |
static void |
nuint64(long struct,
long value)
Unsafe version of
uint64. |
VkPerformanceCounterResultKHR |
set(VkPerformanceCounterResultKHR src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
uint32()
Returns the value of the
uint32 field. |
VkPerformanceCounterResultKHR |
uint32(int value)
Sets the specified value to the
uint32 field. |
long |
uint64()
Returns the value of the
uint64 field. |
VkPerformanceCounterResultKHR |
uint64(long value)
Sets the specified value to the
uint64 field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int INT32
public static final int INT64
public static final int UINT32
public static final int UINT64
public static final int FLOAT32
public static final int FLOAT64
public VkPerformanceCounterResultKHR(java.nio.ByteBuffer container)
VkPerformanceCounterResultKHR instance at the current position of the specified ByteBuffer container. 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.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic int int32()
int32 field.public long int64()
int64 field.public int uint32()
uint32 field.public long uint64()
uint64 field.public float float32()
float32 field.public double float64()
float64 field.public VkPerformanceCounterResultKHR int32(int value)
int32 field.public VkPerformanceCounterResultKHR int64(long value)
int64 field.public VkPerformanceCounterResultKHR uint32(int value)
uint32 field.public VkPerformanceCounterResultKHR uint64(long value)
uint64 field.public VkPerformanceCounterResultKHR float32(float value)
float32 field.public VkPerformanceCounterResultKHR float64(double value)
float64 field.public VkPerformanceCounterResultKHR set(VkPerformanceCounterResultKHR src)
src - the source structpublic static VkPerformanceCounterResultKHR malloc()
VkPerformanceCounterResultKHR instance allocated with memAlloc. The instance must be explicitly freed.public static VkPerformanceCounterResultKHR calloc()
VkPerformanceCounterResultKHR instance allocated with memCalloc. The instance must be explicitly freed.public static VkPerformanceCounterResultKHR create()
VkPerformanceCounterResultKHR instance allocated with BufferUtils.public static VkPerformanceCounterResultKHR create(long address)
VkPerformanceCounterResultKHR instance for the specified memory address.@Nullable public static VkPerformanceCounterResultKHR createSafe(long address)
public static VkPerformanceCounterResultKHR.Buffer malloc(int capacity)
VkPerformanceCounterResultKHR.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPerformanceCounterResultKHR.Buffer calloc(int capacity)
VkPerformanceCounterResultKHR.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPerformanceCounterResultKHR.Buffer create(int capacity)
VkPerformanceCounterResultKHR.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPerformanceCounterResultKHR.Buffer create(long address, int capacity)
VkPerformanceCounterResultKHR.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPerformanceCounterResultKHR.Buffer createSafe(long address, int capacity)
public static VkPerformanceCounterResultKHR mallocStack()
VkPerformanceCounterResultKHR instance allocated on the thread-local MemoryStack.public static VkPerformanceCounterResultKHR callocStack()
VkPerformanceCounterResultKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPerformanceCounterResultKHR mallocStack(org.lwjgl.system.MemoryStack stack)
VkPerformanceCounterResultKHR instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPerformanceCounterResultKHR callocStack(org.lwjgl.system.MemoryStack stack)
VkPerformanceCounterResultKHR instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPerformanceCounterResultKHR.Buffer mallocStack(int capacity)
VkPerformanceCounterResultKHR.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPerformanceCounterResultKHR.Buffer callocStack(int capacity)
VkPerformanceCounterResultKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPerformanceCounterResultKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPerformanceCounterResultKHR.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPerformanceCounterResultKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPerformanceCounterResultKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacitypublic static int nint32(long struct)
int32().public static long nint64(long struct)
int64().public static int nuint32(long struct)
uint32().public static long nuint64(long struct)
uint64().public static float nfloat32(long struct)
float32().public static double nfloat64(long struct)
float64().public static void nint32(long struct,
int value)
int32.public static void nint64(long struct,
long value)
int64.public static void nuint32(long struct,
int value)
uint32.public static void nuint64(long struct,
long value)
uint64.public static void nfloat32(long struct,
float value)
float32.public static void nfloat64(long struct,
double value)
float64.Copyright LWJGL. All Rights Reserved. License terms.