public class VkPhysicalDeviceHostQueryResetFeaturesEXT
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
If the VkPhysicalDeviceHostQueryResetFeaturesEXT structure is included in the pNext chain of VkPhysicalDeviceFeatures2, it is filled with values indicating whether the feature is supported. VkPhysicalDeviceHostQueryResetFeaturesEXT can also be included in the pNext chain of VkDeviceCreateInfo to enable features.
hostQueryReset – indicates that the implementation supports resetting queries from the host with ResetQueryPoolEXT.
struct VkPhysicalDeviceHostQueryResetFeaturesEXT {
VkStructureType sType;
void * pNext;
VkBool32 hostQueryReset;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPhysicalDeviceHostQueryResetFeaturesEXT.Buffer
An array of
VkPhysicalDeviceHostQueryResetFeaturesEXT structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
HOSTQUERYRESET
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 |
|---|
VkPhysicalDeviceHostQueryResetFeaturesEXT(java.nio.ByteBuffer container)
Creates a
VkPhysicalDeviceHostQueryResetFeaturesEXT instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPhysicalDeviceHostQueryResetFeaturesEXT |
calloc()
Returns a new
VkPhysicalDeviceHostQueryResetFeaturesEXT instance allocated with memCalloc. |
static VkPhysicalDeviceHostQueryResetFeaturesEXT.Buffer |
calloc(int capacity)
Returns a new
VkPhysicalDeviceHostQueryResetFeaturesEXT.Buffer instance allocated with memCalloc. |
static VkPhysicalDeviceHostQueryResetFeaturesEXT |
callocStack()
Returns a new
VkPhysicalDeviceHostQueryResetFeaturesEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceHostQueryResetFeaturesEXT.Buffer |
callocStack(int capacity)
Returns a new
VkPhysicalDeviceHostQueryResetFeaturesEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceHostQueryResetFeaturesEXT.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceHostQueryResetFeaturesEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceHostQueryResetFeaturesEXT |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceHostQueryResetFeaturesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceHostQueryResetFeaturesEXT |
create()
Returns a new
VkPhysicalDeviceHostQueryResetFeaturesEXT instance allocated with BufferUtils. |
static VkPhysicalDeviceHostQueryResetFeaturesEXT.Buffer |
create(int capacity)
Returns a new
VkPhysicalDeviceHostQueryResetFeaturesEXT.Buffer instance allocated with BufferUtils. |
static VkPhysicalDeviceHostQueryResetFeaturesEXT |
create(long address)
Returns a new
VkPhysicalDeviceHostQueryResetFeaturesEXT instance for the specified memory address. |
static VkPhysicalDeviceHostQueryResetFeaturesEXT.Buffer |
create(long address,
int capacity)
Create a
VkPhysicalDeviceHostQueryResetFeaturesEXT.Buffer instance at the specified memory. |
static VkPhysicalDeviceHostQueryResetFeaturesEXT |
createSafe(long address)
|
static VkPhysicalDeviceHostQueryResetFeaturesEXT.Buffer |
createSafe(long address,
int capacity)
|
boolean |
hostQueryReset()
Returns the value of the
hostQueryReset field. |
VkPhysicalDeviceHostQueryResetFeaturesEXT |
hostQueryReset(boolean value)
Sets the specified value to the
hostQueryReset field. |
static VkPhysicalDeviceHostQueryResetFeaturesEXT |
malloc()
Returns a new
VkPhysicalDeviceHostQueryResetFeaturesEXT instance allocated with memAlloc. |
static VkPhysicalDeviceHostQueryResetFeaturesEXT.Buffer |
malloc(int capacity)
Returns a new
VkPhysicalDeviceHostQueryResetFeaturesEXT.Buffer instance allocated with memAlloc. |
static VkPhysicalDeviceHostQueryResetFeaturesEXT |
mallocStack()
Returns a new
VkPhysicalDeviceHostQueryResetFeaturesEXT instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceHostQueryResetFeaturesEXT.Buffer |
mallocStack(int capacity)
Returns a new
VkPhysicalDeviceHostQueryResetFeaturesEXT.Buffer instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceHostQueryResetFeaturesEXT.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceHostQueryResetFeaturesEXT.Buffer instance allocated on the specified MemoryStack. |
static VkPhysicalDeviceHostQueryResetFeaturesEXT |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceHostQueryResetFeaturesEXT instance allocated on the specified MemoryStack. |
static int |
nhostQueryReset(long struct)
Unsafe version of
hostQueryReset(). |
static void |
nhostQueryReset(long struct,
int value)
Unsafe version of
hostQueryReset. |
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. |
long |
pNext()
Returns the value of the
pNext field. |
VkPhysicalDeviceHostQueryResetFeaturesEXT |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPhysicalDeviceHostQueryResetFeaturesEXT |
set(int sType,
long pNext,
boolean hostQueryReset)
Initializes this struct with the specified values.
|
VkPhysicalDeviceHostQueryResetFeaturesEXT |
set(VkPhysicalDeviceHostQueryResetFeaturesEXT src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPhysicalDeviceHostQueryResetFeaturesEXT |
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 HOSTQUERYRESET
public VkPhysicalDeviceHostQueryResetFeaturesEXT(java.nio.ByteBuffer container)
VkPhysicalDeviceHostQueryResetFeaturesEXT 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 hostQueryReset()
hostQueryReset field.public VkPhysicalDeviceHostQueryResetFeaturesEXT sType(int value)
sType field.public VkPhysicalDeviceHostQueryResetFeaturesEXT pNext(long value)
pNext field.public VkPhysicalDeviceHostQueryResetFeaturesEXT hostQueryReset(boolean value)
hostQueryReset field.public VkPhysicalDeviceHostQueryResetFeaturesEXT set(int sType, long pNext, boolean hostQueryReset)
public VkPhysicalDeviceHostQueryResetFeaturesEXT set(VkPhysicalDeviceHostQueryResetFeaturesEXT src)
src - the source structpublic static VkPhysicalDeviceHostQueryResetFeaturesEXT malloc()
VkPhysicalDeviceHostQueryResetFeaturesEXT instance allocated with memAlloc. The instance must be explicitly freed.public static VkPhysicalDeviceHostQueryResetFeaturesEXT calloc()
VkPhysicalDeviceHostQueryResetFeaturesEXT instance allocated with memCalloc. The instance must be explicitly freed.public static VkPhysicalDeviceHostQueryResetFeaturesEXT create()
VkPhysicalDeviceHostQueryResetFeaturesEXT instance allocated with BufferUtils.public static VkPhysicalDeviceHostQueryResetFeaturesEXT create(long address)
VkPhysicalDeviceHostQueryResetFeaturesEXT instance for the specified memory address.@Nullable public static VkPhysicalDeviceHostQueryResetFeaturesEXT createSafe(long address)
public static VkPhysicalDeviceHostQueryResetFeaturesEXT.Buffer malloc(int capacity)
VkPhysicalDeviceHostQueryResetFeaturesEXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceHostQueryResetFeaturesEXT.Buffer calloc(int capacity)
VkPhysicalDeviceHostQueryResetFeaturesEXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceHostQueryResetFeaturesEXT.Buffer create(int capacity)
VkPhysicalDeviceHostQueryResetFeaturesEXT.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPhysicalDeviceHostQueryResetFeaturesEXT.Buffer create(long address, int capacity)
VkPhysicalDeviceHostQueryResetFeaturesEXT.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPhysicalDeviceHostQueryResetFeaturesEXT.Buffer createSafe(long address, int capacity)
public static VkPhysicalDeviceHostQueryResetFeaturesEXT mallocStack()
VkPhysicalDeviceHostQueryResetFeaturesEXT instance allocated on the thread-local MemoryStack.public static VkPhysicalDeviceHostQueryResetFeaturesEXT callocStack()
VkPhysicalDeviceHostQueryResetFeaturesEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPhysicalDeviceHostQueryResetFeaturesEXT mallocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceHostQueryResetFeaturesEXT instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPhysicalDeviceHostQueryResetFeaturesEXT callocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceHostQueryResetFeaturesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPhysicalDeviceHostQueryResetFeaturesEXT.Buffer mallocStack(int capacity)
VkPhysicalDeviceHostQueryResetFeaturesEXT.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPhysicalDeviceHostQueryResetFeaturesEXT.Buffer callocStack(int capacity)
VkPhysicalDeviceHostQueryResetFeaturesEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPhysicalDeviceHostQueryResetFeaturesEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceHostQueryResetFeaturesEXT.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPhysicalDeviceHostQueryResetFeaturesEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceHostQueryResetFeaturesEXT.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 nhostQueryReset(long struct)
hostQueryReset().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nhostQueryReset(long struct,
int value)
hostQueryReset.Copyright LWJGL. All Rights Reserved. License terms.