public class VkQueryPoolPerformanceCreateInfoKHR
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
queueFamilyIndex must be a valid queue family index of the deviceperformanceCounterQueryPools feature must be enabledpCounterIndices must be in the range of counters reported by vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR for the queue family specified in queueFamilyIndexsType must be STRUCTURE_TYPE_QUERY_POOL_PERFORMANCE_CREATE_INFO_KHRpCounterIndices must be a valid pointer to an array of counterIndexCount uint32_t valuescounterIndexCount must be greater than 0GetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR
sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.queueFamilyIndex – the queue family index to create this performance query pool for.counterIndexCount – size of the pCounterIndices array.pCounterIndices – the array of indices into the EnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR::pCounters to enable in this performance query pool.
struct VkQueryPoolPerformanceCreateInfoKHR {
VkStructureType sType;
void const * pNext;
uint32_t queueFamilyIndex;
uint32_t counterIndexCount;
uint32_t const * pCounterIndices;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkQueryPoolPerformanceCreateInfoKHR.Buffer
An array of
VkQueryPoolPerformanceCreateInfoKHR structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
COUNTERINDEXCOUNT
The struct member offsets.
|
static int |
PCOUNTERINDICES
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
QUEUEFAMILYINDEX
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkQueryPoolPerformanceCreateInfoKHR(java.nio.ByteBuffer container)
Creates a
VkQueryPoolPerformanceCreateInfoKHR instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkQueryPoolPerformanceCreateInfoKHR |
calloc()
Returns a new
VkQueryPoolPerformanceCreateInfoKHR instance allocated with memCalloc. |
static VkQueryPoolPerformanceCreateInfoKHR.Buffer |
calloc(int capacity)
Returns a new
VkQueryPoolPerformanceCreateInfoKHR.Buffer instance allocated with memCalloc. |
static VkQueryPoolPerformanceCreateInfoKHR |
callocStack()
Returns a new
VkQueryPoolPerformanceCreateInfoKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkQueryPoolPerformanceCreateInfoKHR.Buffer |
callocStack(int capacity)
Returns a new
VkQueryPoolPerformanceCreateInfoKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkQueryPoolPerformanceCreateInfoKHR.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkQueryPoolPerformanceCreateInfoKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkQueryPoolPerformanceCreateInfoKHR |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkQueryPoolPerformanceCreateInfoKHR instance allocated on the specified MemoryStack and initializes all its bits to zero. |
int |
counterIndexCount()
Returns the value of the
counterIndexCount field. |
static VkQueryPoolPerformanceCreateInfoKHR |
create()
Returns a new
VkQueryPoolPerformanceCreateInfoKHR instance allocated with BufferUtils. |
static VkQueryPoolPerformanceCreateInfoKHR.Buffer |
create(int capacity)
Returns a new
VkQueryPoolPerformanceCreateInfoKHR.Buffer instance allocated with BufferUtils. |
static VkQueryPoolPerformanceCreateInfoKHR |
create(long address)
Returns a new
VkQueryPoolPerformanceCreateInfoKHR instance for the specified memory address. |
static VkQueryPoolPerformanceCreateInfoKHR.Buffer |
create(long address,
int capacity)
Create a
VkQueryPoolPerformanceCreateInfoKHR.Buffer instance at the specified memory. |
static VkQueryPoolPerformanceCreateInfoKHR |
createSafe(long address)
|
static VkQueryPoolPerformanceCreateInfoKHR.Buffer |
createSafe(long address,
int capacity)
|
static VkQueryPoolPerformanceCreateInfoKHR |
malloc()
Returns a new
VkQueryPoolPerformanceCreateInfoKHR instance allocated with memAlloc. |
static VkQueryPoolPerformanceCreateInfoKHR.Buffer |
malloc(int capacity)
Returns a new
VkQueryPoolPerformanceCreateInfoKHR.Buffer instance allocated with memAlloc. |
static VkQueryPoolPerformanceCreateInfoKHR |
mallocStack()
Returns a new
VkQueryPoolPerformanceCreateInfoKHR instance allocated on the thread-local MemoryStack. |
static VkQueryPoolPerformanceCreateInfoKHR.Buffer |
mallocStack(int capacity)
Returns a new
VkQueryPoolPerformanceCreateInfoKHR.Buffer instance allocated on the thread-local MemoryStack. |
static VkQueryPoolPerformanceCreateInfoKHR.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkQueryPoolPerformanceCreateInfoKHR.Buffer instance allocated on the specified MemoryStack. |
static VkQueryPoolPerformanceCreateInfoKHR |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkQueryPoolPerformanceCreateInfoKHR instance allocated on the specified MemoryStack. |
static int |
ncounterIndexCount(long struct)
Unsafe version of
counterIndexCount(). |
static void |
ncounterIndexCount(long struct,
int value)
Sets the specified value to the
counterIndexCount field of the specified struct. |
static java.nio.IntBuffer |
npCounterIndices(long struct)
Unsafe version of
pCounterIndices. |
static void |
npCounterIndices(long struct,
java.nio.IntBuffer value)
Unsafe version of
pCounterIndices. |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static int |
nqueueFamilyIndex(long struct)
Unsafe version of
queueFamilyIndex(). |
static void |
nqueueFamilyIndex(long struct,
int value)
Unsafe version of
queueFamilyIndex. |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
java.nio.IntBuffer |
pCounterIndices()
Returns a
IntBuffer view of the data pointed to by the pCounterIndices field. |
VkQueryPoolPerformanceCreateInfoKHR |
pCounterIndices(java.nio.IntBuffer value)
Sets the address of the specified
IntBuffer to the pCounterIndices field. |
long |
pNext()
Returns the value of the
pNext field. |
VkQueryPoolPerformanceCreateInfoKHR |
pNext(long value)
Sets the specified value to the
pNext field. |
int |
queueFamilyIndex()
Returns the value of the
queueFamilyIndex field. |
VkQueryPoolPerformanceCreateInfoKHR |
queueFamilyIndex(int value)
Sets the specified value to the
queueFamilyIndex field. |
VkQueryPoolPerformanceCreateInfoKHR |
set(int sType,
long pNext,
int queueFamilyIndex,
java.nio.IntBuffer pCounterIndices)
Initializes this struct with the specified values.
|
VkQueryPoolPerformanceCreateInfoKHR |
set(VkQueryPoolPerformanceCreateInfoKHR src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkQueryPoolPerformanceCreateInfoKHR |
sType(int value)
Sets the specified value to the
sType field. |
static void |
validate(long struct)
Validates pointer members that should not be
NULL. |
static void |
validate(long array,
int count)
Calls
validate(long) for each struct contained in the specified struct array. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int STYPE
public static final int PNEXT
public static final int QUEUEFAMILYINDEX
public static final int COUNTERINDEXCOUNT
public static final int PCOUNTERINDICES
public VkQueryPoolPerformanceCreateInfoKHR(java.nio.ByteBuffer container)
VkQueryPoolPerformanceCreateInfoKHR 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 queueFamilyIndex()
queueFamilyIndex field.public int counterIndexCount()
counterIndexCount field.public java.nio.IntBuffer pCounterIndices()
IntBuffer view of the data pointed to by the pCounterIndices field.public VkQueryPoolPerformanceCreateInfoKHR sType(int value)
sType field.public VkQueryPoolPerformanceCreateInfoKHR pNext(long value)
pNext field.public VkQueryPoolPerformanceCreateInfoKHR queueFamilyIndex(int value)
queueFamilyIndex field.public VkQueryPoolPerformanceCreateInfoKHR pCounterIndices(java.nio.IntBuffer value)
IntBuffer to the pCounterIndices field.public VkQueryPoolPerformanceCreateInfoKHR set(int sType, long pNext, int queueFamilyIndex, java.nio.IntBuffer pCounterIndices)
public VkQueryPoolPerformanceCreateInfoKHR set(VkQueryPoolPerformanceCreateInfoKHR src)
src - the source structpublic static VkQueryPoolPerformanceCreateInfoKHR malloc()
VkQueryPoolPerformanceCreateInfoKHR instance allocated with memAlloc. The instance must be explicitly freed.public static VkQueryPoolPerformanceCreateInfoKHR calloc()
VkQueryPoolPerformanceCreateInfoKHR instance allocated with memCalloc. The instance must be explicitly freed.public static VkQueryPoolPerformanceCreateInfoKHR create()
VkQueryPoolPerformanceCreateInfoKHR instance allocated with BufferUtils.public static VkQueryPoolPerformanceCreateInfoKHR create(long address)
VkQueryPoolPerformanceCreateInfoKHR instance for the specified memory address.@Nullable public static VkQueryPoolPerformanceCreateInfoKHR createSafe(long address)
public static VkQueryPoolPerformanceCreateInfoKHR.Buffer malloc(int capacity)
VkQueryPoolPerformanceCreateInfoKHR.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkQueryPoolPerformanceCreateInfoKHR.Buffer calloc(int capacity)
VkQueryPoolPerformanceCreateInfoKHR.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkQueryPoolPerformanceCreateInfoKHR.Buffer create(int capacity)
VkQueryPoolPerformanceCreateInfoKHR.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkQueryPoolPerformanceCreateInfoKHR.Buffer create(long address, int capacity)
VkQueryPoolPerformanceCreateInfoKHR.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkQueryPoolPerformanceCreateInfoKHR.Buffer createSafe(long address, int capacity)
public static VkQueryPoolPerformanceCreateInfoKHR mallocStack()
VkQueryPoolPerformanceCreateInfoKHR instance allocated on the thread-local MemoryStack.public static VkQueryPoolPerformanceCreateInfoKHR callocStack()
VkQueryPoolPerformanceCreateInfoKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkQueryPoolPerformanceCreateInfoKHR mallocStack(org.lwjgl.system.MemoryStack stack)
VkQueryPoolPerformanceCreateInfoKHR instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkQueryPoolPerformanceCreateInfoKHR callocStack(org.lwjgl.system.MemoryStack stack)
VkQueryPoolPerformanceCreateInfoKHR instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkQueryPoolPerformanceCreateInfoKHR.Buffer mallocStack(int capacity)
VkQueryPoolPerformanceCreateInfoKHR.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkQueryPoolPerformanceCreateInfoKHR.Buffer callocStack(int capacity)
VkQueryPoolPerformanceCreateInfoKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkQueryPoolPerformanceCreateInfoKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkQueryPoolPerformanceCreateInfoKHR.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkQueryPoolPerformanceCreateInfoKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkQueryPoolPerformanceCreateInfoKHR.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 nqueueFamilyIndex(long struct)
queueFamilyIndex().public static int ncounterIndexCount(long struct)
counterIndexCount().public static java.nio.IntBuffer npCounterIndices(long struct)
pCounterIndices.public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nqueueFamilyIndex(long struct,
int value)
queueFamilyIndex.public static void ncounterIndexCount(long struct,
int value)
counterIndexCount field of the specified struct.public static void npCounterIndices(long struct,
java.nio.IntBuffer value)
pCounterIndices.public static void validate(long struct)
NULL.struct - the struct to validatepublic static void validate(long array,
int count)
validate(long) for each struct contained in the specified struct array.array - the struct array to validatecount - the number of structs in arrayCopyright LWJGL. All Rights Reserved. License terms.