Top Description Inners Fields Constructors Methods
org.lwjgl.vulkan

public Class VkQueryPoolCreateInfo

extends Struct<VkQueryPoolCreateInfo>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

Structure specifying parameters of a newly created query pool.
Description

pipelineStatistics is ignored if queryType is not QUERY_TYPE_PIPELINE_STATISTICS.

Valid Usage
Valid Usage (Implicit)
See Also

CreateQueryPool

Layout


struct VkQueryPoolCreateInfo {
    VkStructureType sType;
    void const * pNext;
    VkQueryPoolCreateFlags flags;
    VkQueryType queryType;
    uint32_t queryCount;
    VkQueryPipelineStatisticFlags pipelineStatistics;
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
FLAGS

The struct member offsets.

public static final int
PIPELINESTATISTICS

The struct member offsets.

public static final int
PNEXT

The struct member offsets.

public static final int
QUERYCOUNT

The struct member offsets.

public static final int
QUERYTYPE

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
STYPE

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
VkQueryPoolCreateInfo(long address, ByteBuffer container)

public
VkQueryPoolCreateInfo(ByteBuffer container)

Creates a VkQueryPoolCreateInfo instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
public static VkQueryPoolCreateInfo
calloc()

Returns a new VkQueryPoolCreateInfo instance allocated with memCalloc.

public static VkQueryPoolCreateInfo.Buffer
calloc(int
the buffer capacity
capacity
)

Returns a new VkQueryPoolCreateInfo.Buffer instance allocated with memCalloc.

public static VkQueryPoolCreateInfo
calloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VkQueryPoolCreateInfo instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static VkQueryPoolCreateInfo.Buffer
calloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VkQueryPoolCreateInfo.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static VkQueryPoolCreateInfo
callocStack()

Deprecated
Deprecated for removal in 3.4.0.
public static VkQueryPoolCreateInfo
callocStack(MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static VkQueryPoolCreateInfo.Buffer
callocStack(int capacity)

Deprecated
Deprecated for removal in 3.4.0.
public static VkQueryPoolCreateInfo.Buffer
callocStack(int capacity, MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
protected VkQueryPoolCreateInfo
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Implements abstract org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static VkQueryPoolCreateInfo
create()

Returns a new VkQueryPoolCreateInfo instance allocated with BufferUtils.

public static VkQueryPoolCreateInfo
create(long address)

Returns a new VkQueryPoolCreateInfo instance for the specified memory address.

public static VkQueryPoolCreateInfo.Buffer
create(int
the buffer capacity
capacity
)

Returns a new VkQueryPoolCreateInfo.Buffer instance allocated with BufferUtils.

public static VkQueryPoolCreateInfo.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a VkQueryPoolCreateInfo.Buffer instance at the specified memory.

public static VkQueryPoolCreateInfo
createSafe(long address)

Like create, but returns null if address is NULL.

public static VkQueryPoolCreateInfo.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public int
flags()

reserved for future use.

public VkQueryPoolCreateInfo
flags(int value)

Sets the specified value to the flags field.

public static VkQueryPoolCreateInfo
malloc()

Returns a new VkQueryPoolCreateInfo instance allocated with memAlloc.

public static VkQueryPoolCreateInfo.Buffer
malloc(int
the buffer capacity
capacity
)

Returns a new VkQueryPoolCreateInfo.Buffer instance allocated with memAlloc.

public static VkQueryPoolCreateInfo
malloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VkQueryPoolCreateInfo instance allocated on the specified MemoryStack.

public static VkQueryPoolCreateInfo.Buffer
malloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VkQueryPoolCreateInfo.Buffer instance allocated on the specified MemoryStack.

public static VkQueryPoolCreateInfo
mallocStack()

Deprecated
Deprecated for removal in 3.4.0.
public static VkQueryPoolCreateInfo
mallocStack(MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static VkQueryPoolCreateInfo.Buffer
mallocStack(int capacity)

Deprecated
Deprecated for removal in 3.4.0.
public static VkQueryPoolCreateInfo.Buffer
mallocStack(int capacity, MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static int
nflags(long struct)

Unsafe version of flags.

public static void
nflags(long struct, int value)

Unsafe version of flags.

public static int
npipelineStatistics(long struct)

Unsafe version of pipelineStatistics.

public static void
npipelineStatistics(long struct, int value)

Unsafe version of pipelineStatistics.

public static long
npNext(long struct)

Unsafe version of pNext.

public static void
npNext(long struct, long value)

Unsafe version of pNext.

public static int
nqueryCount(long struct)

Unsafe version of queryCount.

public static void
nqueryCount(long struct, int value)

Unsafe version of queryCount.

public static int
nqueryType(long struct)

Unsafe version of queryType.

public static void
nqueryType(long struct, int value)

Unsafe version of queryType.

public static int
nsType(long struct)

Unsafe version of sType.

public static void
nsType(long struct, int value)

Unsafe version of sType.

public int
pipelineStatistics()

a bitmask of VkQueryPipelineStatisticFlagBits specifying which counters will be returned in queries on the new pool, as described below in Pipeline Statistics Queries.

public VkQueryPoolCreateInfo
pipelineStatistics(int value)

Sets the specified value to the pipelineStatistics field.

public long
pNext()

NULL or a pointer to a structure extending this structure.

public VkQueryPoolCreateInfo
pNext(long value)

Sets the specified value to the pNext field.

public VkQueryPoolCreateInfo
pNext(VkQueryPoolCreateInfoINTEL value)

Prepends the specified VkQueryPoolCreateInfoINTEL value to the pNext chain.

public VkQueryPoolCreateInfo
pNext(VkQueryPoolPerformanceCreateInfoKHR value)

Prepends the specified VkQueryPoolPerformanceCreateInfoKHR value to the pNext chain.

public VkQueryPoolCreateInfo
public VkQueryPoolCreateInfo
public VkQueryPoolCreateInfo
pNext(VkVideoDecodeH264ProfileInfoKHR value)

Prepends the specified VkVideoDecodeH264ProfileInfoKHR value to the pNext chain.

public VkQueryPoolCreateInfo
pNext(VkVideoDecodeH265ProfileInfoKHR value)

Prepends the specified VkVideoDecodeH265ProfileInfoKHR value to the pNext chain.

public VkQueryPoolCreateInfo
pNext(VkVideoDecodeUsageInfoKHR value)

Prepends the specified VkVideoDecodeUsageInfoKHR value to the pNext chain.

public VkQueryPoolCreateInfo
pNext(VkVideoEncodeH264ProfileInfoEXT value)

Prepends the specified VkVideoEncodeH264ProfileInfoEXT value to the pNext chain.

public VkQueryPoolCreateInfo
pNext(VkVideoEncodeH265ProfileInfoEXT value)

Prepends the specified VkVideoEncodeH265ProfileInfoEXT value to the pNext chain.

public VkQueryPoolCreateInfo
pNext(VkVideoEncodeUsageInfoKHR value)

Prepends the specified VkVideoEncodeUsageInfoKHR value to the pNext chain.

public VkQueryPoolCreateInfo
pNext(VkVideoProfileInfoKHR value)

Prepends the specified VkVideoProfileInfoKHR value to the pNext chain.

public int
queryCount()

the number of queries managed by the pool.

public VkQueryPoolCreateInfo
queryCount(int value)

Sets the specified value to the queryCount field.

public int
queryType()

a VkQueryType value specifying the type of queries managed by the pool.

public VkQueryPoolCreateInfo
queryType(int value)

Sets the specified value to the queryType field.

public VkQueryPoolCreateInfo
set(int sType, long pNext, int flags, int queryType, int queryCount, int pipelineStatistics)

Initializes this struct with the specified values.

public VkQueryPoolCreateInfo

Returns:

this struct
set
(VkQueryPoolCreateInfo
the source struct
src
)

Copies the specified struct data to this struct.

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
public int
sType()

a VkStructureType value identifying this structure.

public VkQueryPoolCreateInfo
sType(int value)

Sets the specified value to the sType field.

public VkQueryPoolCreateInfo
Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate