public class VkCmdReserveSpaceForCommandsInfoNVX
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
sType must be STRUCTURE_TYPE_CMD_RESERVE_SPACE_FOR_COMMANDS_INFO_NVXpNext must be NULLobjectTable must be a valid VkObjectTableNVX handleindirectCommandsLayout must be a valid VkIndirectCommandsLayoutNVX handleindirectCommandsLayout, and objectTable must have been created, allocated, or retrieved from the same VkDeviceobjectTable must be externally synchronizedsType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.objectTable – the VkObjectTableNVX to be used for the generation process. Only registered objects at the time CmdReserveSpaceForCommandsNVX is called, will be taken into account for the reservation.indirectCommandsLayout – the VkIndirectCommandsLayoutNVX that must also be used at generation time.maxSequencesCount – the maximum number of sequences for which command buffer space will be reserved.
struct VkCmdReserveSpaceForCommandsInfoNVX {
VkStructureType sType;
void const * pNext;
VkObjectTableNVX objectTable;
VkIndirectCommandsLayoutNVX indirectCommandsLayout;
uint32_t maxSequencesCount;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkCmdReserveSpaceForCommandsInfoNVX.Buffer
An array of
VkCmdReserveSpaceForCommandsInfoNVX structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
INDIRECTCOMMANDSLAYOUT
The struct member offsets.
|
static int |
MAXSEQUENCESCOUNT
The struct member offsets.
|
static int |
OBJECTTABLE
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkCmdReserveSpaceForCommandsInfoNVX(java.nio.ByteBuffer container)
Creates a
VkCmdReserveSpaceForCommandsInfoNVX instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkCmdReserveSpaceForCommandsInfoNVX |
calloc()
Returns a new
VkCmdReserveSpaceForCommandsInfoNVX instance allocated with memCalloc. |
static VkCmdReserveSpaceForCommandsInfoNVX.Buffer |
calloc(int capacity)
Returns a new
VkCmdReserveSpaceForCommandsInfoNVX.Buffer instance allocated with memCalloc. |
static VkCmdReserveSpaceForCommandsInfoNVX |
callocStack()
Returns a new
VkCmdReserveSpaceForCommandsInfoNVX instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkCmdReserveSpaceForCommandsInfoNVX.Buffer |
callocStack(int capacity)
Returns a new
VkCmdReserveSpaceForCommandsInfoNVX.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkCmdReserveSpaceForCommandsInfoNVX.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkCmdReserveSpaceForCommandsInfoNVX.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkCmdReserveSpaceForCommandsInfoNVX |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkCmdReserveSpaceForCommandsInfoNVX instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkCmdReserveSpaceForCommandsInfoNVX |
create()
Returns a new
VkCmdReserveSpaceForCommandsInfoNVX instance allocated with BufferUtils. |
static VkCmdReserveSpaceForCommandsInfoNVX.Buffer |
create(int capacity)
Returns a new
VkCmdReserveSpaceForCommandsInfoNVX.Buffer instance allocated with BufferUtils. |
static VkCmdReserveSpaceForCommandsInfoNVX |
create(long address)
Returns a new
VkCmdReserveSpaceForCommandsInfoNVX instance for the specified memory address. |
static VkCmdReserveSpaceForCommandsInfoNVX.Buffer |
create(long address,
int capacity)
Create a
VkCmdReserveSpaceForCommandsInfoNVX.Buffer instance at the specified memory. |
static VkCmdReserveSpaceForCommandsInfoNVX |
createSafe(long address)
|
static VkCmdReserveSpaceForCommandsInfoNVX.Buffer |
createSafe(long address,
int capacity)
|
long |
indirectCommandsLayout()
Returns the value of the
indirectCommandsLayout field. |
VkCmdReserveSpaceForCommandsInfoNVX |
indirectCommandsLayout(long value)
Sets the specified value to the
indirectCommandsLayout field. |
static VkCmdReserveSpaceForCommandsInfoNVX |
malloc()
Returns a new
VkCmdReserveSpaceForCommandsInfoNVX instance allocated with memAlloc. |
static VkCmdReserveSpaceForCommandsInfoNVX.Buffer |
malloc(int capacity)
Returns a new
VkCmdReserveSpaceForCommandsInfoNVX.Buffer instance allocated with memAlloc. |
static VkCmdReserveSpaceForCommandsInfoNVX |
mallocStack()
Returns a new
VkCmdReserveSpaceForCommandsInfoNVX instance allocated on the thread-local MemoryStack. |
static VkCmdReserveSpaceForCommandsInfoNVX.Buffer |
mallocStack(int capacity)
Returns a new
VkCmdReserveSpaceForCommandsInfoNVX.Buffer instance allocated on the thread-local MemoryStack. |
static VkCmdReserveSpaceForCommandsInfoNVX.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkCmdReserveSpaceForCommandsInfoNVX.Buffer instance allocated on the specified MemoryStack. |
static VkCmdReserveSpaceForCommandsInfoNVX |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkCmdReserveSpaceForCommandsInfoNVX instance allocated on the specified MemoryStack. |
int |
maxSequencesCount()
Returns the value of the
maxSequencesCount field. |
VkCmdReserveSpaceForCommandsInfoNVX |
maxSequencesCount(int value)
Sets the specified value to the
maxSequencesCount field. |
static long |
nindirectCommandsLayout(long struct)
Unsafe version of
indirectCommandsLayout(). |
static void |
nindirectCommandsLayout(long struct,
long value)
Unsafe version of
indirectCommandsLayout. |
static int |
nmaxSequencesCount(long struct)
Unsafe version of
maxSequencesCount(). |
static void |
nmaxSequencesCount(long struct,
int value)
Unsafe version of
maxSequencesCount. |
static long |
nobjectTable(long struct)
Unsafe version of
objectTable(). |
static void |
nobjectTable(long struct,
long value)
Unsafe version of
objectTable. |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
long |
objectTable()
Returns the value of the
objectTable field. |
VkCmdReserveSpaceForCommandsInfoNVX |
objectTable(long value)
Sets the specified value to the
objectTable field. |
long |
pNext()
Returns the value of the
pNext field. |
VkCmdReserveSpaceForCommandsInfoNVX |
pNext(long value)
Sets the specified value to the
pNext field. |
VkCmdReserveSpaceForCommandsInfoNVX |
set(int sType,
long pNext,
long objectTable,
long indirectCommandsLayout,
int maxSequencesCount)
Initializes this struct with the specified values.
|
VkCmdReserveSpaceForCommandsInfoNVX |
set(VkCmdReserveSpaceForCommandsInfoNVX src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkCmdReserveSpaceForCommandsInfoNVX |
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 OBJECTTABLE
public static final int INDIRECTCOMMANDSLAYOUT
public static final int MAXSEQUENCESCOUNT
public VkCmdReserveSpaceForCommandsInfoNVX(java.nio.ByteBuffer container)
VkCmdReserveSpaceForCommandsInfoNVX 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 long objectTable()
objectTable field.public long indirectCommandsLayout()
indirectCommandsLayout field.public int maxSequencesCount()
maxSequencesCount field.public VkCmdReserveSpaceForCommandsInfoNVX sType(int value)
sType field.public VkCmdReserveSpaceForCommandsInfoNVX pNext(long value)
pNext field.public VkCmdReserveSpaceForCommandsInfoNVX objectTable(long value)
objectTable field.public VkCmdReserveSpaceForCommandsInfoNVX indirectCommandsLayout(long value)
indirectCommandsLayout field.public VkCmdReserveSpaceForCommandsInfoNVX maxSequencesCount(int value)
maxSequencesCount field.public VkCmdReserveSpaceForCommandsInfoNVX set(int sType, long pNext, long objectTable, long indirectCommandsLayout, int maxSequencesCount)
public VkCmdReserveSpaceForCommandsInfoNVX set(VkCmdReserveSpaceForCommandsInfoNVX src)
src - the source structpublic static VkCmdReserveSpaceForCommandsInfoNVX malloc()
VkCmdReserveSpaceForCommandsInfoNVX instance allocated with memAlloc. The instance must be explicitly freed.public static VkCmdReserveSpaceForCommandsInfoNVX calloc()
VkCmdReserveSpaceForCommandsInfoNVX instance allocated with memCalloc. The instance must be explicitly freed.public static VkCmdReserveSpaceForCommandsInfoNVX create()
VkCmdReserveSpaceForCommandsInfoNVX instance allocated with BufferUtils.public static VkCmdReserveSpaceForCommandsInfoNVX create(long address)
VkCmdReserveSpaceForCommandsInfoNVX instance for the specified memory address.@Nullable public static VkCmdReserveSpaceForCommandsInfoNVX createSafe(long address)
public static VkCmdReserveSpaceForCommandsInfoNVX.Buffer malloc(int capacity)
VkCmdReserveSpaceForCommandsInfoNVX.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkCmdReserveSpaceForCommandsInfoNVX.Buffer calloc(int capacity)
VkCmdReserveSpaceForCommandsInfoNVX.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkCmdReserveSpaceForCommandsInfoNVX.Buffer create(int capacity)
VkCmdReserveSpaceForCommandsInfoNVX.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkCmdReserveSpaceForCommandsInfoNVX.Buffer create(long address, int capacity)
VkCmdReserveSpaceForCommandsInfoNVX.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkCmdReserveSpaceForCommandsInfoNVX.Buffer createSafe(long address, int capacity)
public static VkCmdReserveSpaceForCommandsInfoNVX mallocStack()
VkCmdReserveSpaceForCommandsInfoNVX instance allocated on the thread-local MemoryStack.public static VkCmdReserveSpaceForCommandsInfoNVX callocStack()
VkCmdReserveSpaceForCommandsInfoNVX instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkCmdReserveSpaceForCommandsInfoNVX mallocStack(org.lwjgl.system.MemoryStack stack)
VkCmdReserveSpaceForCommandsInfoNVX instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkCmdReserveSpaceForCommandsInfoNVX callocStack(org.lwjgl.system.MemoryStack stack)
VkCmdReserveSpaceForCommandsInfoNVX instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkCmdReserveSpaceForCommandsInfoNVX.Buffer mallocStack(int capacity)
VkCmdReserveSpaceForCommandsInfoNVX.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkCmdReserveSpaceForCommandsInfoNVX.Buffer callocStack(int capacity)
VkCmdReserveSpaceForCommandsInfoNVX.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkCmdReserveSpaceForCommandsInfoNVX.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkCmdReserveSpaceForCommandsInfoNVX.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkCmdReserveSpaceForCommandsInfoNVX.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkCmdReserveSpaceForCommandsInfoNVX.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 long nobjectTable(long struct)
objectTable().public static long nindirectCommandsLayout(long struct)
indirectCommandsLayout().public static int nmaxSequencesCount(long struct)
maxSequencesCount().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nobjectTable(long struct,
long value)
objectTable.public static void nindirectCommandsLayout(long struct,
long value)
indirectCommandsLayout.public static void nmaxSequencesCount(long struct,
int value)
maxSequencesCount.Copyright LWJGL. All Rights Reserved. License terms.