Package org.lwjgl.vulkan
Class VkCheckpointDataNV
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkCheckpointDataNV
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkCheckpointDataNV extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceReturn structure for command buffer checkpoint data.Description
The stages at which a checkpoint marker can be executed are implementation-defined and can be queried by calling
GetPhysicalDeviceQueueFamilyProperties2.Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_CHECKPOINT_DATA_NVpNextmust beNULL
See Also
Layout
struct VkCheckpointDataNV { VkStructureTypesType(); void *pNext(); VkPipelineStageFlagBitsstage(); void *pCheckpointMarker(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkCheckpointDataNV.BufferAn array ofVkCheckpointDataNVstructs.
-
Constructor Summary
Constructors Constructor Description VkCheckpointDataNV(java.nio.ByteBuffer container)Creates aVkCheckpointDataNVinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static VkCheckpointDataNVcalloc()Returns a newVkCheckpointDataNVinstance allocated withmemCalloc.static VkCheckpointDataNV.Buffercalloc(int capacity)Returns a newVkCheckpointDataNV.Bufferinstance allocated withmemCalloc.static VkCheckpointDataNV.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkCheckpointDataNV.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkCheckpointDataNVcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkCheckpointDataNVinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkCheckpointDataNVcallocStack()Deprecated.static VkCheckpointDataNV.BuffercallocStack(int capacity)Deprecated.static VkCheckpointDataNV.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkCheckpointDataNVcallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static VkCheckpointDataNVcreate()Returns a newVkCheckpointDataNVinstance allocated withBufferUtils.static VkCheckpointDataNV.Buffercreate(int capacity)Returns a newVkCheckpointDataNV.Bufferinstance allocated withBufferUtils.static VkCheckpointDataNVcreate(long address)Returns a newVkCheckpointDataNVinstance for the specified memory address.static VkCheckpointDataNV.Buffercreate(long address, int capacity)Create aVkCheckpointDataNV.Bufferinstance at the specified memory.static VkCheckpointDataNVcreateSafe(long address)static VkCheckpointDataNV.BuffercreateSafe(long address, int capacity)static VkCheckpointDataNVmalloc()Returns a newVkCheckpointDataNVinstance allocated withmemAlloc.static VkCheckpointDataNV.Buffermalloc(int capacity)Returns a newVkCheckpointDataNV.Bufferinstance allocated withmemAlloc.static VkCheckpointDataNV.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkCheckpointDataNV.Bufferinstance allocated on the specifiedMemoryStack.static VkCheckpointDataNVmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkCheckpointDataNVinstance allocated on the specifiedMemoryStack.static VkCheckpointDataNVmallocStack()Deprecated.static VkCheckpointDataNV.BuffermallocStack(int capacity)Deprecated.static VkCheckpointDataNV.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkCheckpointDataNVmallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static longnpCheckpointMarker(long struct)Unsafe version ofpCheckpointMarker().static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static intnstage(long struct)Unsafe version ofstage().static intnsType(long struct)Unsafe version ofsType().static voidnsType(long struct, int value)Unsafe version ofsType.longpCheckpointMarker()contains the value of the last checkpoint marker executed in the stage thatstagerefers to.longpNext()NULLor a pointer to a structure extending this structure.VkCheckpointDataNVpNext(long value)Sets the specified value to thepNext()field.VkCheckpointDataNVset(int sType, long pNext)Initializes this struct with the specified values.VkCheckpointDataNVset(VkCheckpointDataNV src)Copies the specified struct data to this struct.intsizeof()intstage()aVkPipelineStageFlagBitsvalue specifying which pipeline stage the checkpoint marker data refers to.intsType()the type of this structure.VkCheckpointDataNVsType(int value)Sets the specified value to thesType()field.VkCheckpointDataNVsType$Default()Sets theSTRUCTURE_TYPE_CHECKPOINT_DATA_NVvalue to thesType()field.
-
-
-
Constructor Detail
-
VkCheckpointDataNV
public VkCheckpointDataNV(java.nio.ByteBuffer container)
Creates aVkCheckpointDataNVinstance 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.
-
stage
public int stage()
aVkPipelineStageFlagBitsvalue specifying which pipeline stage the checkpoint marker data refers to.
-
pCheckpointMarker
public long pCheckpointMarker()
contains the value of the last checkpoint marker executed in the stage thatstagerefers to.
-
sType
public VkCheckpointDataNV sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkCheckpointDataNV sType$Default()
Sets theSTRUCTURE_TYPE_CHECKPOINT_DATA_NVvalue to thesType()field.
-
pNext
public VkCheckpointDataNV pNext(long value)
Sets the specified value to thepNext()field.
-
set
public VkCheckpointDataNV set(int sType, long pNext)
Initializes this struct with the specified values.
-
set
public VkCheckpointDataNV set(VkCheckpointDataNV src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkCheckpointDataNV malloc()
Returns a newVkCheckpointDataNVinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkCheckpointDataNV calloc()
Returns a newVkCheckpointDataNVinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkCheckpointDataNV create()
Returns a newVkCheckpointDataNVinstance allocated withBufferUtils.
-
create
public static VkCheckpointDataNV create(long address)
Returns a newVkCheckpointDataNVinstance for the specified memory address.
-
createSafe
@Nullable public static VkCheckpointDataNV createSafe(long address)
-
malloc
public static VkCheckpointDataNV.Buffer malloc(int capacity)
Returns a newVkCheckpointDataNV.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkCheckpointDataNV.Buffer calloc(int capacity)
Returns a newVkCheckpointDataNV.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkCheckpointDataNV.Buffer create(int capacity)
Returns a newVkCheckpointDataNV.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkCheckpointDataNV.Buffer create(long address, int capacity)
Create aVkCheckpointDataNV.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkCheckpointDataNV.Buffer createSafe(long address, int capacity)
-
mallocStack
@Deprecated public static VkCheckpointDataNV mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkCheckpointDataNV callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkCheckpointDataNV mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkCheckpointDataNV callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkCheckpointDataNV.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkCheckpointDataNV.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static VkCheckpointDataNV.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkCheckpointDataNV.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static VkCheckpointDataNV malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkCheckpointDataNVinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkCheckpointDataNV calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkCheckpointDataNVinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkCheckpointDataNV.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkCheckpointDataNV.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkCheckpointDataNV.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkCheckpointDataNV.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().
-
nstage
public static int nstage(long struct)
Unsafe version ofstage().
-
npCheckpointMarker
public static long npCheckpointMarker(long struct)
Unsafe version ofpCheckpointMarker().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
-