public class VkQueryPoolCreateInfo
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
pipelineStatistics is ignored if queryType is not QUERY_TYPE_PIPELINE_STATISTICS.
queryType must not be QUERY_TYPE_PIPELINE_STATISTICSqueryType is QUERY_TYPE_PIPELINE_STATISTICS, pipelineStatistics must be a valid combination of VkQueryPipelineStatisticFlagBits valuesqueryType is QUERY_TYPE_PERFORMANCE_QUERY_KHR, the pNext chain must include a structure of type VkQueryPoolPerformanceCreateInfoKHRqueryCount must be greater than 0sType must be STRUCTURE_TYPE_QUERY_POOL_CREATE_INFOpNext must be NULL or a pointer to a valid instance of VkQueryPoolPerformanceCreateInfoKHRflags must be 0queryType must be a valid VkQueryType valuesType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.flags – reserved for future use.queryType – a VkQueryType value specifying the type of queries managed by the pool.queryCount – the number of queries managed by the pool.pipelineStatistics – a bitmask of VkQueryPipelineStatisticFlagBits specifying which counters will be returned in queries on the new pool, as described below in Pipeline Statistics Queries.
struct VkQueryPoolCreateInfo {
VkStructureType sType;
void const * pNext;
VkQueryPoolCreateFlags flags;
VkQueryType queryType;
uint32_t queryCount;
VkQueryPipelineStatisticFlags pipelineStatistics;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkQueryPoolCreateInfo.Buffer
An array of
VkQueryPoolCreateInfo structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
FLAGS
The struct member offsets.
|
static int |
PIPELINESTATISTICS
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
QUERYCOUNT
The struct member offsets.
|
static int |
QUERYTYPE
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkQueryPoolCreateInfo(java.nio.ByteBuffer container)
Creates a
VkQueryPoolCreateInfo instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkQueryPoolCreateInfo |
calloc()
Returns a new
VkQueryPoolCreateInfo instance allocated with memCalloc. |
static VkQueryPoolCreateInfo.Buffer |
calloc(int capacity)
Returns a new
VkQueryPoolCreateInfo.Buffer instance allocated with memCalloc. |
static VkQueryPoolCreateInfo |
callocStack()
Returns a new
VkQueryPoolCreateInfo instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkQueryPoolCreateInfo.Buffer |
callocStack(int capacity)
Returns a new
VkQueryPoolCreateInfo.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkQueryPoolCreateInfo.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkQueryPoolCreateInfo.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkQueryPoolCreateInfo |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkQueryPoolCreateInfo instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkQueryPoolCreateInfo |
create()
Returns a new
VkQueryPoolCreateInfo instance allocated with BufferUtils. |
static VkQueryPoolCreateInfo.Buffer |
create(int capacity)
Returns a new
VkQueryPoolCreateInfo.Buffer instance allocated with BufferUtils. |
static VkQueryPoolCreateInfo |
create(long address)
Returns a new
VkQueryPoolCreateInfo instance for the specified memory address. |
static VkQueryPoolCreateInfo.Buffer |
create(long address,
int capacity)
Create a
VkQueryPoolCreateInfo.Buffer instance at the specified memory. |
static VkQueryPoolCreateInfo |
createSafe(long address)
|
static VkQueryPoolCreateInfo.Buffer |
createSafe(long address,
int capacity)
|
int |
flags()
Returns the value of the
flags field. |
VkQueryPoolCreateInfo |
flags(int value)
Sets the specified value to the
flags field. |
static VkQueryPoolCreateInfo |
malloc()
Returns a new
VkQueryPoolCreateInfo instance allocated with memAlloc. |
static VkQueryPoolCreateInfo.Buffer |
malloc(int capacity)
Returns a new
VkQueryPoolCreateInfo.Buffer instance allocated with memAlloc. |
static VkQueryPoolCreateInfo |
mallocStack()
Returns a new
VkQueryPoolCreateInfo instance allocated on the thread-local MemoryStack. |
static VkQueryPoolCreateInfo.Buffer |
mallocStack(int capacity)
Returns a new
VkQueryPoolCreateInfo.Buffer instance allocated on the thread-local MemoryStack. |
static VkQueryPoolCreateInfo.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkQueryPoolCreateInfo.Buffer instance allocated on the specified MemoryStack. |
static VkQueryPoolCreateInfo |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkQueryPoolCreateInfo instance allocated on the specified MemoryStack. |
static int |
nflags(long struct)
Unsafe version of
flags(). |
static void |
nflags(long struct,
int value)
Unsafe version of
flags. |
static int |
npipelineStatistics(long struct)
Unsafe version of
pipelineStatistics(). |
static void |
npipelineStatistics(long struct,
int value)
Unsafe version of
pipelineStatistics. |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static int |
nqueryCount(long struct)
Unsafe version of
queryCount(). |
static void |
nqueryCount(long struct,
int value)
Unsafe version of
queryCount. |
static int |
nqueryType(long struct)
Unsafe version of
queryType(). |
static void |
nqueryType(long struct,
int value)
Unsafe version of
queryType. |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
int |
pipelineStatistics()
Returns the value of the
pipelineStatistics field. |
VkQueryPoolCreateInfo |
pipelineStatistics(int value)
Sets the specified value to the
pipelineStatistics field. |
long |
pNext()
Returns the value of the
pNext field. |
VkQueryPoolCreateInfo |
pNext(long value)
Sets the specified value to the
pNext field. |
int |
queryCount()
Returns the value of the
queryCount field. |
VkQueryPoolCreateInfo |
queryCount(int value)
Sets the specified value to the
queryCount field. |
int |
queryType()
Returns the value of the
queryType field. |
VkQueryPoolCreateInfo |
queryType(int value)
Sets the specified value to the
queryType field. |
VkQueryPoolCreateInfo |
set(int sType,
long pNext,
int flags,
int queryType,
int queryCount,
int pipelineStatistics)
Initializes this struct with the specified values.
|
VkQueryPoolCreateInfo |
set(VkQueryPoolCreateInfo src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkQueryPoolCreateInfo |
sType(int value)
Sets the specified value to the
sType 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 FLAGS
public static final int QUERYTYPE
public static final int QUERYCOUNT
public static final int PIPELINESTATISTICS
public VkQueryPoolCreateInfo(java.nio.ByteBuffer container)
VkQueryPoolCreateInfo 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 int flags()
flags field.public int queryType()
queryType field.public int queryCount()
queryCount field.public int pipelineStatistics()
pipelineStatistics field.public VkQueryPoolCreateInfo sType(int value)
sType field.public VkQueryPoolCreateInfo pNext(long value)
pNext field.public VkQueryPoolCreateInfo flags(int value)
flags field.public VkQueryPoolCreateInfo queryType(int value)
queryType field.public VkQueryPoolCreateInfo queryCount(int value)
queryCount field.public VkQueryPoolCreateInfo pipelineStatistics(int value)
pipelineStatistics field.public VkQueryPoolCreateInfo set(int sType, long pNext, int flags, int queryType, int queryCount, int pipelineStatistics)
public VkQueryPoolCreateInfo set(VkQueryPoolCreateInfo src)
src - the source structpublic static VkQueryPoolCreateInfo malloc()
VkQueryPoolCreateInfo instance allocated with memAlloc. The instance must be explicitly freed.public static VkQueryPoolCreateInfo calloc()
VkQueryPoolCreateInfo instance allocated with memCalloc. The instance must be explicitly freed.public static VkQueryPoolCreateInfo create()
VkQueryPoolCreateInfo instance allocated with BufferUtils.public static VkQueryPoolCreateInfo create(long address)
VkQueryPoolCreateInfo instance for the specified memory address.@Nullable public static VkQueryPoolCreateInfo createSafe(long address)
public static VkQueryPoolCreateInfo.Buffer malloc(int capacity)
VkQueryPoolCreateInfo.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkQueryPoolCreateInfo.Buffer calloc(int capacity)
VkQueryPoolCreateInfo.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkQueryPoolCreateInfo.Buffer create(int capacity)
VkQueryPoolCreateInfo.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkQueryPoolCreateInfo.Buffer create(long address, int capacity)
VkQueryPoolCreateInfo.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkQueryPoolCreateInfo.Buffer createSafe(long address, int capacity)
public static VkQueryPoolCreateInfo mallocStack()
VkQueryPoolCreateInfo instance allocated on the thread-local MemoryStack.public static VkQueryPoolCreateInfo callocStack()
VkQueryPoolCreateInfo instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkQueryPoolCreateInfo mallocStack(org.lwjgl.system.MemoryStack stack)
VkQueryPoolCreateInfo instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkQueryPoolCreateInfo callocStack(org.lwjgl.system.MemoryStack stack)
VkQueryPoolCreateInfo instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkQueryPoolCreateInfo.Buffer mallocStack(int capacity)
VkQueryPoolCreateInfo.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkQueryPoolCreateInfo.Buffer callocStack(int capacity)
VkQueryPoolCreateInfo.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkQueryPoolCreateInfo.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkQueryPoolCreateInfo.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkQueryPoolCreateInfo.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkQueryPoolCreateInfo.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 int nflags(long struct)
flags().public static int nqueryType(long struct)
queryType().public static int nqueryCount(long struct)
queryCount().public static int npipelineStatistics(long struct)
pipelineStatistics().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nflags(long struct,
int value)
flags.public static void nqueryType(long struct,
int value)
queryType.public static void nqueryCount(long struct,
int value)
queryCount.public static void npipelineStatistics(long struct,
int value)
pipelineStatistics.Copyright LWJGL. All Rights Reserved. License terms.