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.Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_CHECKPOINT_DATA_NVpNextmust beNULL
Note that the stages at which a checkpoint marker can be executed are implementation-defined and can be queried by calling
GetPhysicalDeviceQueueFamilyProperties2.See Also
Member documentation
sType– the type of this structurepNext–NULLor a pointer to an extension-specific structure.stage– indicates which pipeline stage the checkpoint marker data refers to.pCheckpointMarker– contains the value of the last checkpoint marker executed in the stage thatstagerefers to.
Layout
struct VkCheckpointDataNV { VkStructureType sType; void * pNext; VkPipelineStageFlagBits stage; 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 Modifier and Type Method Description static VkCheckpointDataNVcalloc()Returns a newVkCheckpointDataNVinstance allocated withmemCalloc.static VkCheckpointDataNV.Buffercalloc(int capacity)Returns a newVkCheckpointDataNV.Bufferinstance allocated withmemCalloc.static VkCheckpointDataNVcallocStack()Returns a newVkCheckpointDataNVinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkCheckpointDataNV.BuffercallocStack(int capacity)Returns a newVkCheckpointDataNV.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkCheckpointDataNV.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkCheckpointDataNV.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkCheckpointDataNVcallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkCheckpointDataNVinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.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 VkCheckpointDataNVmallocStack()Returns a newVkCheckpointDataNVinstance allocated on the thread-localMemoryStack.static VkCheckpointDataNV.BuffermallocStack(int capacity)Returns a newVkCheckpointDataNV.Bufferinstance allocated on the thread-localMemoryStack.static VkCheckpointDataNV.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkCheckpointDataNV.Bufferinstance allocated on the specifiedMemoryStack.static VkCheckpointDataNVmallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkCheckpointDataNVinstance allocated on the specifiedMemoryStack.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()Returns the value of thepCheckpointMarkerfield.longpNext()Returns the value of thepNextfield.VkCheckpointDataNVpNext(long value)Sets the specified value to thepNextfield.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()Returns the value of thestagefield.intsType()Returns the value of thesTypefield.VkCheckpointDataNVsType(int value)Sets the specified value to thesTypefield.
-
-
-
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()
Returns the value of thesTypefield.
-
pNext
public long pNext()
Returns the value of thepNextfield.
-
stage
public int stage()
Returns the value of thestagefield.
-
pCheckpointMarker
public long pCheckpointMarker()
Returns the value of thepCheckpointMarkerfield.
-
sType
public VkCheckpointDataNV sType(int value)
Sets the specified value to thesTypefield.
-
pNext
public VkCheckpointDataNV pNext(long value)
Sets the specified value to thepNextfield.
-
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
public static VkCheckpointDataNV mallocStack()
Returns a newVkCheckpointDataNVinstance allocated on the thread-localMemoryStack.
-
callocStack
public static VkCheckpointDataNV callocStack()
Returns a newVkCheckpointDataNVinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static VkCheckpointDataNV mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkCheckpointDataNVinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkCheckpointDataNV callocStack(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
-
mallocStack
public static VkCheckpointDataNV.Buffer mallocStack(int capacity)
Returns a newVkCheckpointDataNV.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static VkCheckpointDataNV.Buffer callocStack(int capacity)
Returns a newVkCheckpointDataNV.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacity
-
mallocStack
public static VkCheckpointDataNV.Buffer mallocStack(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
-
callocStack
public static VkCheckpointDataNV.Buffer callocStack(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.
-
-