public class VkCheckpointDataNV
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
sType must be STRUCTURE_TYPE_CHECKPOINT_DATA_NVpNext must be NULLNote that the stages at which a checkpoint marker can be executed are implementation-defined and can be queried by calling GetPhysicalDeviceQueueFamilyProperties2.
sType – the type of this structurepNext – NULL or 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 that stage refers to.
struct VkCheckpointDataNV {
VkStructureType sType;
void * pNext;
VkPipelineStageFlagBits stage;
void * pCheckpointMarker;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkCheckpointDataNV.Buffer
An array of
VkCheckpointDataNV structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
PCHECKPOINTMARKER
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STAGE
The struct member offsets.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkCheckpointDataNV(java.nio.ByteBuffer container)
Creates a
VkCheckpointDataNV instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkCheckpointDataNV |
calloc()
Returns a new
VkCheckpointDataNV instance allocated with memCalloc. |
static VkCheckpointDataNV.Buffer |
calloc(int capacity)
Returns a new
VkCheckpointDataNV.Buffer instance allocated with memCalloc. |
static VkCheckpointDataNV |
callocStack()
Returns a new
VkCheckpointDataNV instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkCheckpointDataNV.Buffer |
callocStack(int capacity)
Returns a new
VkCheckpointDataNV.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkCheckpointDataNV.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkCheckpointDataNV.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkCheckpointDataNV |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkCheckpointDataNV instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkCheckpointDataNV |
create()
Returns a new
VkCheckpointDataNV instance allocated with BufferUtils. |
static VkCheckpointDataNV.Buffer |
create(int capacity)
Returns a new
VkCheckpointDataNV.Buffer instance allocated with BufferUtils. |
static VkCheckpointDataNV |
create(long address)
Returns a new
VkCheckpointDataNV instance for the specified memory address. |
static VkCheckpointDataNV.Buffer |
create(long address,
int capacity)
Create a
VkCheckpointDataNV.Buffer instance at the specified memory. |
static VkCheckpointDataNV |
createSafe(long address)
|
static VkCheckpointDataNV.Buffer |
createSafe(long address,
int capacity)
|
static VkCheckpointDataNV |
malloc()
Returns a new
VkCheckpointDataNV instance allocated with memAlloc. |
static VkCheckpointDataNV.Buffer |
malloc(int capacity)
Returns a new
VkCheckpointDataNV.Buffer instance allocated with memAlloc. |
static VkCheckpointDataNV |
mallocStack()
Returns a new
VkCheckpointDataNV instance allocated on the thread-local MemoryStack. |
static VkCheckpointDataNV.Buffer |
mallocStack(int capacity)
Returns a new
VkCheckpointDataNV.Buffer instance allocated on the thread-local MemoryStack. |
static VkCheckpointDataNV.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkCheckpointDataNV.Buffer instance allocated on the specified MemoryStack. |
static VkCheckpointDataNV |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkCheckpointDataNV instance allocated on the specified MemoryStack. |
static long |
npCheckpointMarker(long struct)
Unsafe version of
pCheckpointMarker(). |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static int |
nstage(long struct)
Unsafe version of
stage(). |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
long |
pCheckpointMarker()
Returns the value of the
pCheckpointMarker field. |
long |
pNext()
Returns the value of the
pNext field. |
VkCheckpointDataNV |
pNext(long value)
Sets the specified value to the
pNext field. |
VkCheckpointDataNV |
set(int sType,
long pNext)
Initializes this struct with the specified values.
|
VkCheckpointDataNV |
set(VkCheckpointDataNV src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
stage()
Returns the value of the
stage field. |
int |
sType()
Returns the value of the
sType field. |
VkCheckpointDataNV |
sType(int value)
Sets the specified value to the
sType field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int STYPE
public static final int PNEXT
public static final int STAGE
public static final int PCHECKPOINTMARKER
public VkCheckpointDataNV(java.nio.ByteBuffer container)
VkCheckpointDataNV instance at the current position of the specified ByteBuffer container. 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.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic int sType()
sType field.public long pNext()
pNext field.public int stage()
stage field.public long pCheckpointMarker()
pCheckpointMarker field.public VkCheckpointDataNV sType(int value)
sType field.public VkCheckpointDataNV pNext(long value)
pNext field.public VkCheckpointDataNV set(int sType, long pNext)
public VkCheckpointDataNV set(VkCheckpointDataNV src)
src - the source structpublic static VkCheckpointDataNV malloc()
VkCheckpointDataNV instance allocated with memAlloc. The instance must be explicitly freed.public static VkCheckpointDataNV calloc()
VkCheckpointDataNV instance allocated with memCalloc. The instance must be explicitly freed.public static VkCheckpointDataNV create()
VkCheckpointDataNV instance allocated with BufferUtils.public static VkCheckpointDataNV create(long address)
VkCheckpointDataNV instance for the specified memory address.@Nullable public static VkCheckpointDataNV createSafe(long address)
public static VkCheckpointDataNV.Buffer malloc(int capacity)
VkCheckpointDataNV.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkCheckpointDataNV.Buffer calloc(int capacity)
VkCheckpointDataNV.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkCheckpointDataNV.Buffer create(int capacity)
VkCheckpointDataNV.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkCheckpointDataNV.Buffer create(long address, int capacity)
VkCheckpointDataNV.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkCheckpointDataNV.Buffer createSafe(long address, int capacity)
public static VkCheckpointDataNV mallocStack()
VkCheckpointDataNV instance allocated on the thread-local MemoryStack.public static VkCheckpointDataNV callocStack()
VkCheckpointDataNV instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkCheckpointDataNV mallocStack(org.lwjgl.system.MemoryStack stack)
VkCheckpointDataNV instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkCheckpointDataNV callocStack(org.lwjgl.system.MemoryStack stack)
VkCheckpointDataNV instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkCheckpointDataNV.Buffer mallocStack(int capacity)
VkCheckpointDataNV.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkCheckpointDataNV.Buffer callocStack(int capacity)
VkCheckpointDataNV.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkCheckpointDataNV.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkCheckpointDataNV.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkCheckpointDataNV.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkCheckpointDataNV.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacitypublic static int nsType(long struct)
sType().public static long npNext(long struct)
pNext().public static int nstage(long struct)
stage().public static long npCheckpointMarker(long struct)
pCheckpointMarker().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.Copyright LWJGL. All Rights Reserved. License terms.