Package org.lwjgl.vulkan
Class VkPhysicalDeviceDiagnosticsConfigFeaturesNV
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceDiagnosticsConfigFeaturesNV
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPhysicalDeviceDiagnosticsConfigFeaturesNV extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure describing the device-generated diagnostic configuration features that can be supported by an implementation.Description
If the
VkPhysicalDeviceDiagnosticsConfigFeaturesNVstructure is included in thepNextchain of theVkPhysicalDeviceFeatures2structure passed toGetPhysicalDeviceFeatures2, it is filled in to indicate whether each corresponding feature is supported.VkPhysicalDeviceDiagnosticsConfigFeaturesNVcan also be used in thepNextchain ofVkDeviceCreateInfoto selectively enable these features.Valid Usage (Implicit)
Layout
struct VkPhysicalDeviceDiagnosticsConfigFeaturesNV { VkStructureTypesType(); void *pNext(); VkBool32diagnosticsConfig(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceDiagnosticsConfigFeaturesNV.BufferAn array ofVkPhysicalDeviceDiagnosticsConfigFeaturesNVstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intDIAGNOSTICSCONFIG
PNEXTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceDiagnosticsConfigFeaturesNV(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceDiagnosticsConfigFeaturesNVinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDeviceDiagnosticsConfigFeaturesNVcalloc()Returns a newVkPhysicalDeviceDiagnosticsConfigFeaturesNVinstance allocated withmemCalloc.static VkPhysicalDeviceDiagnosticsConfigFeaturesNV.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceDiagnosticsConfigFeaturesNV.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceDiagnosticsConfigFeaturesNV.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceDiagnosticsConfigFeaturesNV.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceDiagnosticsConfigFeaturesNVcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceDiagnosticsConfigFeaturesNVinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceDiagnosticsConfigFeaturesNVcreate()Returns a newVkPhysicalDeviceDiagnosticsConfigFeaturesNVinstance allocated withBufferUtils.static VkPhysicalDeviceDiagnosticsConfigFeaturesNV.Buffercreate(int capacity)Returns a newVkPhysicalDeviceDiagnosticsConfigFeaturesNV.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceDiagnosticsConfigFeaturesNVcreate(long address)Returns a newVkPhysicalDeviceDiagnosticsConfigFeaturesNVinstance for the specified memory address.static VkPhysicalDeviceDiagnosticsConfigFeaturesNV.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceDiagnosticsConfigFeaturesNV.Bufferinstance at the specified memory.static VkPhysicalDeviceDiagnosticsConfigFeaturesNVcreateSafe(long address)static VkPhysicalDeviceDiagnosticsConfigFeaturesNV.BuffercreateSafe(long address, int capacity)booleandiagnosticsConfig()indicates whether the implementation supports the ability to configure diagnostic tools.VkPhysicalDeviceDiagnosticsConfigFeaturesNVdiagnosticsConfig(boolean value)Sets the specified value to thediagnosticsConfig()field.static VkPhysicalDeviceDiagnosticsConfigFeaturesNVmalloc()Returns a newVkPhysicalDeviceDiagnosticsConfigFeaturesNVinstance allocated withmemAlloc.static VkPhysicalDeviceDiagnosticsConfigFeaturesNV.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceDiagnosticsConfigFeaturesNV.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceDiagnosticsConfigFeaturesNV.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceDiagnosticsConfigFeaturesNV.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceDiagnosticsConfigFeaturesNVmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceDiagnosticsConfigFeaturesNVinstance allocated on the specifiedMemoryStack.static intndiagnosticsConfig(long struct)Unsafe version ofdiagnosticsConfig().static voidndiagnosticsConfig(long struct, int value)Unsafe version ofdiagnosticsConfig.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.VkPhysicalDeviceDiagnosticsConfigFeaturesNVpNext(long value)Sets the specified value to thepNext()field.VkPhysicalDeviceDiagnosticsConfigFeaturesNVset(int sType, long pNext, boolean diagnosticsConfig)Initializes this struct with the specified values.VkPhysicalDeviceDiagnosticsConfigFeaturesNVset(VkPhysicalDeviceDiagnosticsConfigFeaturesNV src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkPhysicalDeviceDiagnosticsConfigFeaturesNVsType(int value)Sets the specified value to thesType()field.VkPhysicalDeviceDiagnosticsConfigFeaturesNVsType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_DIAGNOSTICS_CONFIG_FEATURES_NVvalue to thesType()field.
-
-
-
Constructor Detail
-
VkPhysicalDeviceDiagnosticsConfigFeaturesNV
public VkPhysicalDeviceDiagnosticsConfigFeaturesNV(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceDiagnosticsConfigFeaturesNVinstance 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.
-
diagnosticsConfig
public boolean diagnosticsConfig()
indicates whether the implementation supports the ability to configure diagnostic tools.
-
sType
public VkPhysicalDeviceDiagnosticsConfigFeaturesNV sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkPhysicalDeviceDiagnosticsConfigFeaturesNV sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_DIAGNOSTICS_CONFIG_FEATURES_NVvalue to thesType()field.
-
pNext
public VkPhysicalDeviceDiagnosticsConfigFeaturesNV pNext(long value)
Sets the specified value to thepNext()field.
-
diagnosticsConfig
public VkPhysicalDeviceDiagnosticsConfigFeaturesNV diagnosticsConfig(boolean value)
Sets the specified value to thediagnosticsConfig()field.
-
set
public VkPhysicalDeviceDiagnosticsConfigFeaturesNV set(int sType, long pNext, boolean diagnosticsConfig)
Initializes this struct with the specified values.
-
set
public VkPhysicalDeviceDiagnosticsConfigFeaturesNV set(VkPhysicalDeviceDiagnosticsConfigFeaturesNV src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceDiagnosticsConfigFeaturesNV malloc()
Returns a newVkPhysicalDeviceDiagnosticsConfigFeaturesNVinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceDiagnosticsConfigFeaturesNV calloc()
Returns a newVkPhysicalDeviceDiagnosticsConfigFeaturesNVinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceDiagnosticsConfigFeaturesNV create()
Returns a newVkPhysicalDeviceDiagnosticsConfigFeaturesNVinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceDiagnosticsConfigFeaturesNV create(long address)
Returns a newVkPhysicalDeviceDiagnosticsConfigFeaturesNVinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceDiagnosticsConfigFeaturesNV createSafe(long address)
-
malloc
public static VkPhysicalDeviceDiagnosticsConfigFeaturesNV.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceDiagnosticsConfigFeaturesNV.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceDiagnosticsConfigFeaturesNV.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceDiagnosticsConfigFeaturesNV.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceDiagnosticsConfigFeaturesNV.Buffer create(int capacity)
Returns a newVkPhysicalDeviceDiagnosticsConfigFeaturesNV.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceDiagnosticsConfigFeaturesNV.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceDiagnosticsConfigFeaturesNV.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceDiagnosticsConfigFeaturesNV.Buffer createSafe(long address, int capacity)
-
malloc
public static VkPhysicalDeviceDiagnosticsConfigFeaturesNV malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceDiagnosticsConfigFeaturesNVinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceDiagnosticsConfigFeaturesNV calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceDiagnosticsConfigFeaturesNVinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceDiagnosticsConfigFeaturesNV.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceDiagnosticsConfigFeaturesNV.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceDiagnosticsConfigFeaturesNV.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceDiagnosticsConfigFeaturesNV.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().
-
ndiagnosticsConfig
public static int ndiagnosticsConfig(long struct)
Unsafe version ofdiagnosticsConfig().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
ndiagnosticsConfig
public static void ndiagnosticsConfig(long struct, int value)Unsafe version ofdiagnosticsConfig.
-
-