Package org.lwjgl.vulkan
Class VkPhysicalDeviceHostQueryResetFeatures
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceHostQueryResetFeatures
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Direct Known Subclasses:
VkPhysicalDeviceHostQueryResetFeaturesEXT
public class VkPhysicalDeviceHostQueryResetFeatures extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure describing whether queries can be reset from the host.Description
If the
VkPhysicalDeviceHostQueryResetFeaturesstructure is included in thepNextchain of theVkPhysicalDeviceFeatures2structure passed toGetPhysicalDeviceFeatures2, it is filled in to indicate whether each corresponding feature is supported.VkPhysicalDeviceHostQueryResetFeaturescan also be used in thepNextchain ofVkDeviceCreateInfoto selectively enable these features.Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_PHYSICAL_DEVICE_HOST_QUERY_RESET_FEATURES
Layout
struct VkPhysicalDeviceHostQueryResetFeatures { VkStructureTypesType(); void *pNext(); VkBool32hostQueryReset(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceHostQueryResetFeatures.BufferAn array ofVkPhysicalDeviceHostQueryResetFeaturesstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intHOSTQUERYRESET
PNEXTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceHostQueryResetFeatures(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceHostQueryResetFeaturesinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDeviceHostQueryResetFeaturescalloc()Returns a newVkPhysicalDeviceHostQueryResetFeaturesinstance allocated withmemCalloc.static VkPhysicalDeviceHostQueryResetFeatures.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceHostQueryResetFeatures.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceHostQueryResetFeatures.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceHostQueryResetFeatures.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceHostQueryResetFeaturescalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceHostQueryResetFeaturesinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceHostQueryResetFeaturescreate()Returns a newVkPhysicalDeviceHostQueryResetFeaturesinstance allocated withBufferUtils.static VkPhysicalDeviceHostQueryResetFeatures.Buffercreate(int capacity)Returns a newVkPhysicalDeviceHostQueryResetFeatures.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceHostQueryResetFeaturescreate(long address)Returns a newVkPhysicalDeviceHostQueryResetFeaturesinstance for the specified memory address.static VkPhysicalDeviceHostQueryResetFeatures.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceHostQueryResetFeatures.Bufferinstance at the specified memory.static VkPhysicalDeviceHostQueryResetFeaturescreateSafe(long address)static VkPhysicalDeviceHostQueryResetFeatures.BuffercreateSafe(long address, int capacity)booleanhostQueryReset()indicates that the implementation supports resetting queries from the host withResetQueryPool.VkPhysicalDeviceHostQueryResetFeatureshostQueryReset(boolean value)Sets the specified value to thehostQueryReset()field.static VkPhysicalDeviceHostQueryResetFeaturesmalloc()Returns a newVkPhysicalDeviceHostQueryResetFeaturesinstance allocated withmemAlloc.static VkPhysicalDeviceHostQueryResetFeatures.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceHostQueryResetFeatures.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceHostQueryResetFeatures.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceHostQueryResetFeatures.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceHostQueryResetFeaturesmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceHostQueryResetFeaturesinstance allocated on the specifiedMemoryStack.static intnhostQueryReset(long struct)Unsafe version ofhostQueryReset().static voidnhostQueryReset(long struct, int value)Unsafe version ofhostQueryReset.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static intnsType(long struct)Unsafe version ofsType().static voidnsType(long struct, int value)Unsafe version ofsType.longpNext()NULLor a pointer to a structure extending this structure.VkPhysicalDeviceHostQueryResetFeaturespNext(long value)Sets the specified value to thepNext()field.VkPhysicalDeviceHostQueryResetFeaturesset(int sType, long pNext, boolean hostQueryReset)Initializes this struct with the specified values.VkPhysicalDeviceHostQueryResetFeaturesset(VkPhysicalDeviceHostQueryResetFeatures src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkPhysicalDeviceHostQueryResetFeaturessType(int value)Sets the specified value to thesType()field.VkPhysicalDeviceHostQueryResetFeaturessType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_HOST_QUERY_RESET_FEATURESvalue to thesType()field.
-
-
-
Constructor Detail
-
VkPhysicalDeviceHostQueryResetFeatures
public VkPhysicalDeviceHostQueryResetFeatures(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceHostQueryResetFeaturesinstance at the current position of the specifiedByteBuffercontainer. 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.
-
-
Method Detail
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
sType
public int sType()
the type of this structure.
-
pNext
public long pNext()
NULLor a pointer to a structure extending this structure.
-
hostQueryReset
public boolean hostQueryReset()
indicates that the implementation supports resetting queries from the host withResetQueryPool.
-
sType
public VkPhysicalDeviceHostQueryResetFeatures sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkPhysicalDeviceHostQueryResetFeatures sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_HOST_QUERY_RESET_FEATURESvalue to thesType()field.
-
pNext
public VkPhysicalDeviceHostQueryResetFeatures pNext(long value)
Sets the specified value to thepNext()field.
-
hostQueryReset
public VkPhysicalDeviceHostQueryResetFeatures hostQueryReset(boolean value)
Sets the specified value to thehostQueryReset()field.
-
set
public VkPhysicalDeviceHostQueryResetFeatures set(int sType, long pNext, boolean hostQueryReset)
Initializes this struct with the specified values.
-
set
public VkPhysicalDeviceHostQueryResetFeatures set(VkPhysicalDeviceHostQueryResetFeatures src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceHostQueryResetFeatures malloc()
Returns a newVkPhysicalDeviceHostQueryResetFeaturesinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceHostQueryResetFeatures calloc()
Returns a newVkPhysicalDeviceHostQueryResetFeaturesinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceHostQueryResetFeatures create()
Returns a newVkPhysicalDeviceHostQueryResetFeaturesinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceHostQueryResetFeatures create(long address)
Returns a newVkPhysicalDeviceHostQueryResetFeaturesinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceHostQueryResetFeatures createSafe(long address)
-
malloc
public static VkPhysicalDeviceHostQueryResetFeatures.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceHostQueryResetFeatures.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceHostQueryResetFeatures.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceHostQueryResetFeatures.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceHostQueryResetFeatures.Buffer create(int capacity)
Returns a newVkPhysicalDeviceHostQueryResetFeatures.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceHostQueryResetFeatures.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceHostQueryResetFeatures.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceHostQueryResetFeatures.Buffer createSafe(long address, int capacity)
-
malloc
public static VkPhysicalDeviceHostQueryResetFeatures malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceHostQueryResetFeaturesinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceHostQueryResetFeatures calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceHostQueryResetFeaturesinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceHostQueryResetFeatures.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceHostQueryResetFeatures.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceHostQueryResetFeatures.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceHostQueryResetFeatures.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
nsType
public static int nsType(long struct)
Unsafe version ofsType().
-
npNext
public static long npNext(long struct)
Unsafe version ofpNext().
-
nhostQueryReset
public static int nhostQueryReset(long struct)
Unsafe version ofhostQueryReset().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
nhostQueryReset
public static void nhostQueryReset(long struct, int value)Unsafe version ofhostQueryReset.
-
-