public class VkPhysicalDevicePerformanceQueryFeaturesKHR
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
To query supported performance counter query pool features, call GetPhysicalDeviceFeatures2 with a VkPhysicalDevicePerformanceQueryFeaturesKHR structure included in the pNext chain of its pFeatures parameter. The VkPhysicalDevicePerformanceQueryFeaturesKHR structure can also be included in the pNext chain of a VkDeviceCreateInfo structure, in which case it controls which additional features are enabled in the device.
sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.performanceCounterQueryPools – TRUE if the physical device supports performance counter query pools.performanceCounterMultipleQueryPools – TRUE` if the physical device supports using multiple performance query pools in a primary command buffer and secondary command buffers executed within it.
struct VkPhysicalDevicePerformanceQueryFeaturesKHR {
VkStructureType sType;
void * pNext;
VkBool32 performanceCounterQueryPools;
VkBool32 performanceCounterMultipleQueryPools;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPhysicalDevicePerformanceQueryFeaturesKHR.Buffer
An array of
VkPhysicalDevicePerformanceQueryFeaturesKHR structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
PERFORMANCECOUNTERMULTIPLEQUERYPOOLS
The struct member offsets.
|
static int |
PERFORMANCECOUNTERQUERYPOOLS
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.
|
| Constructor and Description |
|---|
VkPhysicalDevicePerformanceQueryFeaturesKHR(java.nio.ByteBuffer container)
Creates a
VkPhysicalDevicePerformanceQueryFeaturesKHR instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPhysicalDevicePerformanceQueryFeaturesKHR |
calloc()
Returns a new
VkPhysicalDevicePerformanceQueryFeaturesKHR instance allocated with memCalloc. |
static VkPhysicalDevicePerformanceQueryFeaturesKHR.Buffer |
calloc(int capacity)
Returns a new
VkPhysicalDevicePerformanceQueryFeaturesKHR.Buffer instance allocated with memCalloc. |
static VkPhysicalDevicePerformanceQueryFeaturesKHR |
callocStack()
Returns a new
VkPhysicalDevicePerformanceQueryFeaturesKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDevicePerformanceQueryFeaturesKHR.Buffer |
callocStack(int capacity)
Returns a new
VkPhysicalDevicePerformanceQueryFeaturesKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDevicePerformanceQueryFeaturesKHR.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDevicePerformanceQueryFeaturesKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDevicePerformanceQueryFeaturesKHR |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDevicePerformanceQueryFeaturesKHR instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDevicePerformanceQueryFeaturesKHR |
create()
Returns a new
VkPhysicalDevicePerformanceQueryFeaturesKHR instance allocated with BufferUtils. |
static VkPhysicalDevicePerformanceQueryFeaturesKHR.Buffer |
create(int capacity)
Returns a new
VkPhysicalDevicePerformanceQueryFeaturesKHR.Buffer instance allocated with BufferUtils. |
static VkPhysicalDevicePerformanceQueryFeaturesKHR |
create(long address)
Returns a new
VkPhysicalDevicePerformanceQueryFeaturesKHR instance for the specified memory address. |
static VkPhysicalDevicePerformanceQueryFeaturesKHR.Buffer |
create(long address,
int capacity)
Create a
VkPhysicalDevicePerformanceQueryFeaturesKHR.Buffer instance at the specified memory. |
static VkPhysicalDevicePerformanceQueryFeaturesKHR |
createSafe(long address)
|
static VkPhysicalDevicePerformanceQueryFeaturesKHR.Buffer |
createSafe(long address,
int capacity)
|
static VkPhysicalDevicePerformanceQueryFeaturesKHR |
malloc()
Returns a new
VkPhysicalDevicePerformanceQueryFeaturesKHR instance allocated with memAlloc. |
static VkPhysicalDevicePerformanceQueryFeaturesKHR.Buffer |
malloc(int capacity)
Returns a new
VkPhysicalDevicePerformanceQueryFeaturesKHR.Buffer instance allocated with memAlloc. |
static VkPhysicalDevicePerformanceQueryFeaturesKHR |
mallocStack()
Returns a new
VkPhysicalDevicePerformanceQueryFeaturesKHR instance allocated on the thread-local MemoryStack. |
static VkPhysicalDevicePerformanceQueryFeaturesKHR.Buffer |
mallocStack(int capacity)
Returns a new
VkPhysicalDevicePerformanceQueryFeaturesKHR.Buffer instance allocated on the thread-local MemoryStack. |
static VkPhysicalDevicePerformanceQueryFeaturesKHR.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDevicePerformanceQueryFeaturesKHR.Buffer instance allocated on the specified MemoryStack. |
static VkPhysicalDevicePerformanceQueryFeaturesKHR |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDevicePerformanceQueryFeaturesKHR instance allocated on the specified MemoryStack. |
static int |
nperformanceCounterMultipleQueryPools(long struct)
Unsafe version of
performanceCounterMultipleQueryPools(). |
static void |
nperformanceCounterMultipleQueryPools(long struct,
int value)
Unsafe version of
performanceCounterMultipleQueryPools. |
static int |
nperformanceCounterQueryPools(long struct)
Unsafe version of
performanceCounterQueryPools(). |
static void |
nperformanceCounterQueryPools(long struct,
int value)
Unsafe version of
performanceCounterQueryPools. |
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. |
boolean |
performanceCounterMultipleQueryPools()
Returns the value of the
performanceCounterMultipleQueryPools field. |
VkPhysicalDevicePerformanceQueryFeaturesKHR |
performanceCounterMultipleQueryPools(boolean value)
Sets the specified value to the
performanceCounterMultipleQueryPools field. |
boolean |
performanceCounterQueryPools()
Returns the value of the
performanceCounterQueryPools field. |
VkPhysicalDevicePerformanceQueryFeaturesKHR |
performanceCounterQueryPools(boolean value)
Sets the specified value to the
performanceCounterQueryPools field. |
long |
pNext()
Returns the value of the
pNext field. |
VkPhysicalDevicePerformanceQueryFeaturesKHR |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPhysicalDevicePerformanceQueryFeaturesKHR |
set(int sType,
long pNext,
boolean performanceCounterQueryPools,
boolean performanceCounterMultipleQueryPools)
Initializes this struct with the specified values.
|
VkPhysicalDevicePerformanceQueryFeaturesKHR |
set(VkPhysicalDevicePerformanceQueryFeaturesKHR src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPhysicalDevicePerformanceQueryFeaturesKHR |
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 PERFORMANCECOUNTERQUERYPOOLS
public static final int PERFORMANCECOUNTERMULTIPLEQUERYPOOLS
public VkPhysicalDevicePerformanceQueryFeaturesKHR(java.nio.ByteBuffer container)
VkPhysicalDevicePerformanceQueryFeaturesKHR 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 boolean performanceCounterQueryPools()
performanceCounterQueryPools field.public boolean performanceCounterMultipleQueryPools()
performanceCounterMultipleQueryPools field.public VkPhysicalDevicePerformanceQueryFeaturesKHR sType(int value)
sType field.public VkPhysicalDevicePerformanceQueryFeaturesKHR pNext(long value)
pNext field.public VkPhysicalDevicePerformanceQueryFeaturesKHR performanceCounterQueryPools(boolean value)
performanceCounterQueryPools field.public VkPhysicalDevicePerformanceQueryFeaturesKHR performanceCounterMultipleQueryPools(boolean value)
performanceCounterMultipleQueryPools field.public VkPhysicalDevicePerformanceQueryFeaturesKHR set(int sType, long pNext, boolean performanceCounterQueryPools, boolean performanceCounterMultipleQueryPools)
public VkPhysicalDevicePerformanceQueryFeaturesKHR set(VkPhysicalDevicePerformanceQueryFeaturesKHR src)
src - the source structpublic static VkPhysicalDevicePerformanceQueryFeaturesKHR malloc()
VkPhysicalDevicePerformanceQueryFeaturesKHR instance allocated with memAlloc. The instance must be explicitly freed.public static VkPhysicalDevicePerformanceQueryFeaturesKHR calloc()
VkPhysicalDevicePerformanceQueryFeaturesKHR instance allocated with memCalloc. The instance must be explicitly freed.public static VkPhysicalDevicePerformanceQueryFeaturesKHR create()
VkPhysicalDevicePerformanceQueryFeaturesKHR instance allocated with BufferUtils.public static VkPhysicalDevicePerformanceQueryFeaturesKHR create(long address)
VkPhysicalDevicePerformanceQueryFeaturesKHR instance for the specified memory address.@Nullable public static VkPhysicalDevicePerformanceQueryFeaturesKHR createSafe(long address)
public static VkPhysicalDevicePerformanceQueryFeaturesKHR.Buffer malloc(int capacity)
VkPhysicalDevicePerformanceQueryFeaturesKHR.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDevicePerformanceQueryFeaturesKHR.Buffer calloc(int capacity)
VkPhysicalDevicePerformanceQueryFeaturesKHR.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDevicePerformanceQueryFeaturesKHR.Buffer create(int capacity)
VkPhysicalDevicePerformanceQueryFeaturesKHR.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPhysicalDevicePerformanceQueryFeaturesKHR.Buffer create(long address, int capacity)
VkPhysicalDevicePerformanceQueryFeaturesKHR.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPhysicalDevicePerformanceQueryFeaturesKHR.Buffer createSafe(long address, int capacity)
public static VkPhysicalDevicePerformanceQueryFeaturesKHR mallocStack()
VkPhysicalDevicePerformanceQueryFeaturesKHR instance allocated on the thread-local MemoryStack.public static VkPhysicalDevicePerformanceQueryFeaturesKHR callocStack()
VkPhysicalDevicePerformanceQueryFeaturesKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPhysicalDevicePerformanceQueryFeaturesKHR mallocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDevicePerformanceQueryFeaturesKHR instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPhysicalDevicePerformanceQueryFeaturesKHR callocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDevicePerformanceQueryFeaturesKHR instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPhysicalDevicePerformanceQueryFeaturesKHR.Buffer mallocStack(int capacity)
VkPhysicalDevicePerformanceQueryFeaturesKHR.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPhysicalDevicePerformanceQueryFeaturesKHR.Buffer callocStack(int capacity)
VkPhysicalDevicePerformanceQueryFeaturesKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPhysicalDevicePerformanceQueryFeaturesKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDevicePerformanceQueryFeaturesKHR.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPhysicalDevicePerformanceQueryFeaturesKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDevicePerformanceQueryFeaturesKHR.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 nperformanceCounterQueryPools(long struct)
performanceCounterQueryPools().public static int nperformanceCounterMultipleQueryPools(long struct)
performanceCounterMultipleQueryPools().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nperformanceCounterQueryPools(long struct,
int value)
performanceCounterQueryPools.public static void nperformanceCounterMultipleQueryPools(long struct,
int value)
performanceCounterMultipleQueryPools.Copyright LWJGL. All Rights Reserved. License terms.