Package org.lwjgl.vulkan
Class VkDeviceDiagnosticsConfigCreateInfoNV
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkDeviceDiagnosticsConfigCreateInfoNV
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkDeviceDiagnosticsConfigCreateInfoNV extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceSpecify diagnostics config for a Vulkan device.Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_DEVICE_DIAGNOSTICS_CONFIG_CREATE_INFO_NVflagsmust be a valid combination ofVkDeviceDiagnosticsConfigFlagBitsNVvalues
Layout
struct VkDeviceDiagnosticsConfigCreateInfoNV { VkStructureTypesType(); void const *pNext(); VkDeviceDiagnosticsConfigFlagsNVflags(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkDeviceDiagnosticsConfigCreateInfoNV.BufferAn array ofVkDeviceDiagnosticsConfigCreateInfoNVstructs.
-
Constructor Summary
Constructors Constructor Description VkDeviceDiagnosticsConfigCreateInfoNV(java.nio.ByteBuffer container)Creates aVkDeviceDiagnosticsConfigCreateInfoNVinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkDeviceDiagnosticsConfigCreateInfoNVcalloc()Returns a newVkDeviceDiagnosticsConfigCreateInfoNVinstance allocated withmemCalloc.static VkDeviceDiagnosticsConfigCreateInfoNV.Buffercalloc(int capacity)Returns a newVkDeviceDiagnosticsConfigCreateInfoNV.Bufferinstance allocated withmemCalloc.static VkDeviceDiagnosticsConfigCreateInfoNV.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkDeviceDiagnosticsConfigCreateInfoNV.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkDeviceDiagnosticsConfigCreateInfoNVcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkDeviceDiagnosticsConfigCreateInfoNVinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkDeviceDiagnosticsConfigCreateInfoNVcreate()Returns a newVkDeviceDiagnosticsConfigCreateInfoNVinstance allocated withBufferUtils.static VkDeviceDiagnosticsConfigCreateInfoNV.Buffercreate(int capacity)Returns a newVkDeviceDiagnosticsConfigCreateInfoNV.Bufferinstance allocated withBufferUtils.static VkDeviceDiagnosticsConfigCreateInfoNVcreate(long address)Returns a newVkDeviceDiagnosticsConfigCreateInfoNVinstance for the specified memory address.static VkDeviceDiagnosticsConfigCreateInfoNV.Buffercreate(long address, int capacity)Create aVkDeviceDiagnosticsConfigCreateInfoNV.Bufferinstance at the specified memory.static VkDeviceDiagnosticsConfigCreateInfoNVcreateSafe(long address)static VkDeviceDiagnosticsConfigCreateInfoNV.BuffercreateSafe(long address, int capacity)intflags()a bitmask ofVkDeviceDiagnosticsConfigFlagBitsNVspecifying addtional parameters for configuring diagnostic tools.VkDeviceDiagnosticsConfigCreateInfoNVflags(int value)Sets the specified value to theflags()field.static VkDeviceDiagnosticsConfigCreateInfoNVmalloc()Returns a newVkDeviceDiagnosticsConfigCreateInfoNVinstance allocated withmemAlloc.static VkDeviceDiagnosticsConfigCreateInfoNV.Buffermalloc(int capacity)Returns a newVkDeviceDiagnosticsConfigCreateInfoNV.Bufferinstance allocated withmemAlloc.static VkDeviceDiagnosticsConfigCreateInfoNV.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkDeviceDiagnosticsConfigCreateInfoNV.Bufferinstance allocated on the specifiedMemoryStack.static VkDeviceDiagnosticsConfigCreateInfoNVmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkDeviceDiagnosticsConfigCreateInfoNVinstance allocated on the specifiedMemoryStack.static intnflags(long struct)Unsafe version offlags().static voidnflags(long struct, int value)Unsafe version offlags.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.VkDeviceDiagnosticsConfigCreateInfoNVpNext(long value)Sets the specified value to thepNext()field.VkDeviceDiagnosticsConfigCreateInfoNVset(int sType, long pNext, int flags)Initializes this struct with the specified values.VkDeviceDiagnosticsConfigCreateInfoNVset(VkDeviceDiagnosticsConfigCreateInfoNV src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkDeviceDiagnosticsConfigCreateInfoNVsType(int value)Sets the specified value to thesType()field.VkDeviceDiagnosticsConfigCreateInfoNVsType$Default()Sets theSTRUCTURE_TYPE_DEVICE_DIAGNOSTICS_CONFIG_CREATE_INFO_NVvalue to thesType()field.
-
-
-
Constructor Detail
-
VkDeviceDiagnosticsConfigCreateInfoNV
public VkDeviceDiagnosticsConfigCreateInfoNV(java.nio.ByteBuffer container)
Creates aVkDeviceDiagnosticsConfigCreateInfoNVinstance 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.
-
flags
public int flags()
a bitmask ofVkDeviceDiagnosticsConfigFlagBitsNVspecifying addtional parameters for configuring diagnostic tools.
-
sType
public VkDeviceDiagnosticsConfigCreateInfoNV sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkDeviceDiagnosticsConfigCreateInfoNV sType$Default()
Sets theSTRUCTURE_TYPE_DEVICE_DIAGNOSTICS_CONFIG_CREATE_INFO_NVvalue to thesType()field.
-
pNext
public VkDeviceDiagnosticsConfigCreateInfoNV pNext(long value)
Sets the specified value to thepNext()field.
-
flags
public VkDeviceDiagnosticsConfigCreateInfoNV flags(int value)
Sets the specified value to theflags()field.
-
set
public VkDeviceDiagnosticsConfigCreateInfoNV set(int sType, long pNext, int flags)
Initializes this struct with the specified values.
-
set
public VkDeviceDiagnosticsConfigCreateInfoNV set(VkDeviceDiagnosticsConfigCreateInfoNV src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkDeviceDiagnosticsConfigCreateInfoNV malloc()
Returns a newVkDeviceDiagnosticsConfigCreateInfoNVinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkDeviceDiagnosticsConfigCreateInfoNV calloc()
Returns a newVkDeviceDiagnosticsConfigCreateInfoNVinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkDeviceDiagnosticsConfigCreateInfoNV create()
Returns a newVkDeviceDiagnosticsConfigCreateInfoNVinstance allocated withBufferUtils.
-
create
public static VkDeviceDiagnosticsConfigCreateInfoNV create(long address)
Returns a newVkDeviceDiagnosticsConfigCreateInfoNVinstance for the specified memory address.
-
createSafe
@Nullable public static VkDeviceDiagnosticsConfigCreateInfoNV createSafe(long address)
-
malloc
public static VkDeviceDiagnosticsConfigCreateInfoNV.Buffer malloc(int capacity)
Returns a newVkDeviceDiagnosticsConfigCreateInfoNV.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkDeviceDiagnosticsConfigCreateInfoNV.Buffer calloc(int capacity)
Returns a newVkDeviceDiagnosticsConfigCreateInfoNV.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkDeviceDiagnosticsConfigCreateInfoNV.Buffer create(int capacity)
Returns a newVkDeviceDiagnosticsConfigCreateInfoNV.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkDeviceDiagnosticsConfigCreateInfoNV.Buffer create(long address, int capacity)
Create aVkDeviceDiagnosticsConfigCreateInfoNV.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkDeviceDiagnosticsConfigCreateInfoNV.Buffer createSafe(long address, int capacity)
-
malloc
public static VkDeviceDiagnosticsConfigCreateInfoNV malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceDiagnosticsConfigCreateInfoNVinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkDeviceDiagnosticsConfigCreateInfoNV calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceDiagnosticsConfigCreateInfoNVinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkDeviceDiagnosticsConfigCreateInfoNV.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceDiagnosticsConfigCreateInfoNV.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkDeviceDiagnosticsConfigCreateInfoNV.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceDiagnosticsConfigCreateInfoNV.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().
-
nflags
public static int nflags(long struct)
Unsafe version offlags().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
nflags
public static void nflags(long struct, int value)Unsafe version offlags.
-
-