public class VkPipelineExecutableStatisticKHR
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
sType must be STRUCTURE_TYPE_PIPELINE_EXECUTABLE_STATISTIC_KHRpNext must be NULLVkPipelineExecutableStatisticValueKHR, GetPipelineExecutableStatisticsKHR
sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.name[VK_MAX_DESCRIPTION_SIZE] – an array of MAX_DESCRIPTION_SIZE char containing a null-terminated UTF-8 string which is a short human readable name for this statistic.description[VK_MAX_DESCRIPTION_SIZE] – an array of MAX_DESCRIPTION_SIZE char containing a null-terminated UTF-8 string which is a human readable description for this statistic.format – a VkPipelineExecutableStatisticFormatKHR value specifying the format of the data found in value.value – the value of this statistic.
struct VkPipelineExecutableStatisticKHR {
VkStructureType sType;
void * pNext;
char name[VK_MAX_DESCRIPTION_SIZE];
char description[VK_MAX_DESCRIPTION_SIZE];
VkPipelineExecutableStatisticFormatKHR format;
VkPipelineExecutableStatisticValueKHR value;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPipelineExecutableStatisticKHR.Buffer
An array of
VkPipelineExecutableStatisticKHR structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
DESCRIPTION
The struct member offsets.
|
static int |
FORMAT
The struct member offsets.
|
static int |
NAME
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
static int |
VALUE
The struct member offsets.
|
| Constructor and Description |
|---|
VkPipelineExecutableStatisticKHR(java.nio.ByteBuffer container)
Creates a
VkPipelineExecutableStatisticKHR instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPipelineExecutableStatisticKHR |
calloc()
Returns a new
VkPipelineExecutableStatisticKHR instance allocated with memCalloc. |
static VkPipelineExecutableStatisticKHR.Buffer |
calloc(int capacity)
Returns a new
VkPipelineExecutableStatisticKHR.Buffer instance allocated with memCalloc. |
static VkPipelineExecutableStatisticKHR |
callocStack()
Returns a new
VkPipelineExecutableStatisticKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPipelineExecutableStatisticKHR.Buffer |
callocStack(int capacity)
Returns a new
VkPipelineExecutableStatisticKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPipelineExecutableStatisticKHR.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineExecutableStatisticKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPipelineExecutableStatisticKHR |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineExecutableStatisticKHR instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPipelineExecutableStatisticKHR |
create()
Returns a new
VkPipelineExecutableStatisticKHR instance allocated with BufferUtils. |
static VkPipelineExecutableStatisticKHR.Buffer |
create(int capacity)
Returns a new
VkPipelineExecutableStatisticKHR.Buffer instance allocated with BufferUtils. |
static VkPipelineExecutableStatisticKHR |
create(long address)
Returns a new
VkPipelineExecutableStatisticKHR instance for the specified memory address. |
static VkPipelineExecutableStatisticKHR.Buffer |
create(long address,
int capacity)
Create a
VkPipelineExecutableStatisticKHR.Buffer instance at the specified memory. |
static VkPipelineExecutableStatisticKHR |
createSafe(long address)
|
static VkPipelineExecutableStatisticKHR.Buffer |
createSafe(long address,
int capacity)
|
java.nio.ByteBuffer |
description()
Returns a
ByteBuffer view of the description field. |
java.lang.String |
descriptionString()
Decodes the null-terminated string stored in the
description field. |
int |
format()
Returns the value of the
format field. |
static VkPipelineExecutableStatisticKHR |
malloc()
Returns a new
VkPipelineExecutableStatisticKHR instance allocated with memAlloc. |
static VkPipelineExecutableStatisticKHR.Buffer |
malloc(int capacity)
Returns a new
VkPipelineExecutableStatisticKHR.Buffer instance allocated with memAlloc. |
static VkPipelineExecutableStatisticKHR |
mallocStack()
Returns a new
VkPipelineExecutableStatisticKHR instance allocated on the thread-local MemoryStack. |
static VkPipelineExecutableStatisticKHR.Buffer |
mallocStack(int capacity)
Returns a new
VkPipelineExecutableStatisticKHR.Buffer instance allocated on the thread-local MemoryStack. |
static VkPipelineExecutableStatisticKHR.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineExecutableStatisticKHR.Buffer instance allocated on the specified MemoryStack. |
static VkPipelineExecutableStatisticKHR |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineExecutableStatisticKHR instance allocated on the specified MemoryStack. |
java.nio.ByteBuffer |
name()
Returns a
ByteBuffer view of the name field. |
java.lang.String |
nameString()
Decodes the null-terminated string stored in the
name field. |
static java.nio.ByteBuffer |
ndescription(long struct)
Unsafe version of
description(). |
static java.lang.String |
ndescriptionString(long struct)
Unsafe version of
descriptionString(). |
static int |
nformat(long struct)
Unsafe version of
format(). |
static java.nio.ByteBuffer |
nname(long struct)
Unsafe version of
name(). |
static java.lang.String |
nnameString(long struct)
Unsafe version of
nameString(). |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
static VkPipelineExecutableStatisticValueKHR |
nvalue(long struct)
Unsafe version of
value(). |
long |
pNext()
Returns the value of the
pNext field. |
VkPipelineExecutableStatisticKHR |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPipelineExecutableStatisticKHR |
set(int sType,
long pNext)
Initializes this struct with the specified values.
|
VkPipelineExecutableStatisticKHR |
set(VkPipelineExecutableStatisticKHR src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPipelineExecutableStatisticKHR |
sType(int value)
Sets the specified value to the
sType field. |
VkPipelineExecutableStatisticValueKHR |
value()
Returns a
VkPipelineExecutableStatisticValueKHR view of the value field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int STYPE
public static final int PNEXT
public static final int NAME
public static final int DESCRIPTION
public static final int FORMAT
public static final int VALUE
public VkPipelineExecutableStatisticKHR(java.nio.ByteBuffer container)
VkPipelineExecutableStatisticKHR 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 sType()
sType field.public long pNext()
pNext field.public java.nio.ByteBuffer name()
ByteBuffer view of the name field.public java.lang.String nameString()
name field.public java.nio.ByteBuffer description()
ByteBuffer view of the description field.public java.lang.String descriptionString()
description field.public int format()
format field.public VkPipelineExecutableStatisticValueKHR value()
VkPipelineExecutableStatisticValueKHR view of the value field.public VkPipelineExecutableStatisticKHR sType(int value)
sType field.public VkPipelineExecutableStatisticKHR pNext(long value)
pNext field.public VkPipelineExecutableStatisticKHR set(int sType, long pNext)
public VkPipelineExecutableStatisticKHR set(VkPipelineExecutableStatisticKHR src)
src - the source structpublic static VkPipelineExecutableStatisticKHR malloc()
VkPipelineExecutableStatisticKHR instance allocated with memAlloc. The instance must be explicitly freed.public static VkPipelineExecutableStatisticKHR calloc()
VkPipelineExecutableStatisticKHR instance allocated with memCalloc. The instance must be explicitly freed.public static VkPipelineExecutableStatisticKHR create()
VkPipelineExecutableStatisticKHR instance allocated with BufferUtils.public static VkPipelineExecutableStatisticKHR create(long address)
VkPipelineExecutableStatisticKHR instance for the specified memory address.@Nullable public static VkPipelineExecutableStatisticKHR createSafe(long address)
public static VkPipelineExecutableStatisticKHR.Buffer malloc(int capacity)
VkPipelineExecutableStatisticKHR.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPipelineExecutableStatisticKHR.Buffer calloc(int capacity)
VkPipelineExecutableStatisticKHR.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPipelineExecutableStatisticKHR.Buffer create(int capacity)
VkPipelineExecutableStatisticKHR.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPipelineExecutableStatisticKHR.Buffer create(long address, int capacity)
VkPipelineExecutableStatisticKHR.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPipelineExecutableStatisticKHR.Buffer createSafe(long address, int capacity)
public static VkPipelineExecutableStatisticKHR mallocStack()
VkPipelineExecutableStatisticKHR instance allocated on the thread-local MemoryStack.public static VkPipelineExecutableStatisticKHR callocStack()
VkPipelineExecutableStatisticKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPipelineExecutableStatisticKHR mallocStack(org.lwjgl.system.MemoryStack stack)
VkPipelineExecutableStatisticKHR instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPipelineExecutableStatisticKHR callocStack(org.lwjgl.system.MemoryStack stack)
VkPipelineExecutableStatisticKHR instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPipelineExecutableStatisticKHR.Buffer mallocStack(int capacity)
VkPipelineExecutableStatisticKHR.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPipelineExecutableStatisticKHR.Buffer callocStack(int capacity)
VkPipelineExecutableStatisticKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPipelineExecutableStatisticKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPipelineExecutableStatisticKHR.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPipelineExecutableStatisticKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPipelineExecutableStatisticKHR.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 nsType(long struct)
sType().public static long npNext(long struct)
pNext().public static java.nio.ByteBuffer nname(long struct)
name().public static java.lang.String nnameString(long struct)
nameString().public static java.nio.ByteBuffer ndescription(long struct)
description().public static java.lang.String ndescriptionString(long struct)
descriptionString().public static int nformat(long struct)
format().public static VkPipelineExecutableStatisticValueKHR nvalue(long struct)
value().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.Copyright LWJGL. All Rights Reserved. License terms.