public class VkPerformanceValueINTEL
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
type must be a valid VkPerformanceValueTypeINTEL valuedata must be a valid VkPerformanceValueDataINTEL unionVkPerformanceValueDataINTEL, GetPerformanceParameterINTEL
type – a VkPerformanceValueTypeINTEL value specifying the type of the returned data.data – a VkPerformanceValueDataINTEL union specifying the value of the returned data.
struct VkPerformanceValueINTEL {
VkPerformanceValueTypeINTEL type;
VkPerformanceValueDataINTEL data;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPerformanceValueINTEL.Buffer
An array of
VkPerformanceValueINTEL structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
DATA
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
TYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkPerformanceValueINTEL(java.nio.ByteBuffer container)
Creates a
VkPerformanceValueINTEL instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPerformanceValueINTEL |
calloc()
Returns a new
VkPerformanceValueINTEL instance allocated with memCalloc. |
static VkPerformanceValueINTEL.Buffer |
calloc(int capacity)
Returns a new
VkPerformanceValueINTEL.Buffer instance allocated with memCalloc. |
static VkPerformanceValueINTEL |
callocStack()
Returns a new
VkPerformanceValueINTEL instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPerformanceValueINTEL.Buffer |
callocStack(int capacity)
Returns a new
VkPerformanceValueINTEL.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPerformanceValueINTEL.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPerformanceValueINTEL.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPerformanceValueINTEL |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPerformanceValueINTEL instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPerformanceValueINTEL |
create()
Returns a new
VkPerformanceValueINTEL instance allocated with BufferUtils. |
static VkPerformanceValueINTEL.Buffer |
create(int capacity)
Returns a new
VkPerformanceValueINTEL.Buffer instance allocated with BufferUtils. |
static VkPerformanceValueINTEL |
create(long address)
Returns a new
VkPerformanceValueINTEL instance for the specified memory address. |
static VkPerformanceValueINTEL.Buffer |
create(long address,
int capacity)
Create a
VkPerformanceValueINTEL.Buffer instance at the specified memory. |
static VkPerformanceValueINTEL |
createSafe(long address)
|
static VkPerformanceValueINTEL.Buffer |
createSafe(long address,
int capacity)
|
VkPerformanceValueDataINTEL |
data()
Returns a
VkPerformanceValueDataINTEL view of the data field. |
VkPerformanceValueINTEL |
data(java.util.function.Consumer<VkPerformanceValueDataINTEL> consumer)
Passes the
data field to the specified Consumer. |
VkPerformanceValueINTEL |
data(VkPerformanceValueDataINTEL value)
Copies the specified
VkPerformanceValueDataINTEL to the data field. |
static VkPerformanceValueINTEL |
malloc()
Returns a new
VkPerformanceValueINTEL instance allocated with memAlloc. |
static VkPerformanceValueINTEL.Buffer |
malloc(int capacity)
Returns a new
VkPerformanceValueINTEL.Buffer instance allocated with memAlloc. |
static VkPerformanceValueINTEL |
mallocStack()
Returns a new
VkPerformanceValueINTEL instance allocated on the thread-local MemoryStack. |
static VkPerformanceValueINTEL.Buffer |
mallocStack(int capacity)
Returns a new
VkPerformanceValueINTEL.Buffer instance allocated on the thread-local MemoryStack. |
static VkPerformanceValueINTEL.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPerformanceValueINTEL.Buffer instance allocated on the specified MemoryStack. |
static VkPerformanceValueINTEL |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPerformanceValueINTEL instance allocated on the specified MemoryStack. |
static VkPerformanceValueDataINTEL |
ndata(long struct)
Unsafe version of
data(). |
static void |
ndata(long struct,
VkPerformanceValueDataINTEL value)
Unsafe version of
data. |
static int |
ntype(long struct)
Unsafe version of
type(). |
static void |
ntype(long struct,
int value)
Unsafe version of
type. |
VkPerformanceValueINTEL |
set(int type,
VkPerformanceValueDataINTEL data)
Initializes this struct with the specified values.
|
VkPerformanceValueINTEL |
set(VkPerformanceValueINTEL src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
type()
Returns the value of the
type field. |
VkPerformanceValueINTEL |
type(int value)
Sets the specified value to the
type field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int TYPE
public static final int DATA
public VkPerformanceValueINTEL(java.nio.ByteBuffer container)
VkPerformanceValueINTEL 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 type()
type field.public VkPerformanceValueDataINTEL data()
VkPerformanceValueDataINTEL view of the data field.public VkPerformanceValueINTEL type(int value)
type field.public VkPerformanceValueINTEL data(VkPerformanceValueDataINTEL value)
VkPerformanceValueDataINTEL to the data field.public VkPerformanceValueINTEL data(java.util.function.Consumer<VkPerformanceValueDataINTEL> consumer)
data field to the specified Consumer.public VkPerformanceValueINTEL set(int type, VkPerformanceValueDataINTEL data)
public VkPerformanceValueINTEL set(VkPerformanceValueINTEL src)
src - the source structpublic static VkPerformanceValueINTEL malloc()
VkPerformanceValueINTEL instance allocated with memAlloc. The instance must be explicitly freed.public static VkPerformanceValueINTEL calloc()
VkPerformanceValueINTEL instance allocated with memCalloc. The instance must be explicitly freed.public static VkPerformanceValueINTEL create()
VkPerformanceValueINTEL instance allocated with BufferUtils.public static VkPerformanceValueINTEL create(long address)
VkPerformanceValueINTEL instance for the specified memory address.@Nullable public static VkPerformanceValueINTEL createSafe(long address)
public static VkPerformanceValueINTEL.Buffer malloc(int capacity)
VkPerformanceValueINTEL.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPerformanceValueINTEL.Buffer calloc(int capacity)
VkPerformanceValueINTEL.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPerformanceValueINTEL.Buffer create(int capacity)
VkPerformanceValueINTEL.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPerformanceValueINTEL.Buffer create(long address, int capacity)
VkPerformanceValueINTEL.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPerformanceValueINTEL.Buffer createSafe(long address, int capacity)
public static VkPerformanceValueINTEL mallocStack()
VkPerformanceValueINTEL instance allocated on the thread-local MemoryStack.public static VkPerformanceValueINTEL callocStack()
VkPerformanceValueINTEL instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPerformanceValueINTEL mallocStack(org.lwjgl.system.MemoryStack stack)
VkPerformanceValueINTEL instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPerformanceValueINTEL callocStack(org.lwjgl.system.MemoryStack stack)
VkPerformanceValueINTEL instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPerformanceValueINTEL.Buffer mallocStack(int capacity)
VkPerformanceValueINTEL.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPerformanceValueINTEL.Buffer callocStack(int capacity)
VkPerformanceValueINTEL.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPerformanceValueINTEL.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPerformanceValueINTEL.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPerformanceValueINTEL.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPerformanceValueINTEL.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 ntype(long struct)
type().public static VkPerformanceValueDataINTEL ndata(long struct)
data().public static void ntype(long struct,
int value)
type.public static void ndata(long struct,
VkPerformanceValueDataINTEL value)
data.Copyright LWJGL. All Rights Reserved. License terms.