public class VkCmdProcessCommandsInfoNVX
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
objectTable must include all objects referenced by the generation processindirectCommandsTokenCount must match the indirectCommandsLayout’s tokenCounttokenType member of each entry in the pIndirectCommandsTokens array must match the values used at creation time of indirectCommandsLayouttargetCommandBuffer is provided, it must have reserved command spacetargetCommandBuffer is provided, the objectTable must match the reservation’s objectTable and must have had all referenced objects registered at reservation timetargetCommandBuffer is provided, the indirectCommandsLayout must match the reservation’s indirectCommandsLayouttargetCommandBuffer is provided, the maxSequencesCount must not exceed the reservation’s maxSequencesCountsequencesCountBuffer is used, its usage flag must have the BUFFER_USAGE_INDIRECT_BUFFER_BIT bit setsequencesCountBuffer is used, sequencesCountOffset must be aligned to VkDeviceGeneratedCommandsLimitsNVX::minSequenceCountBufferOffsetAlignmentsequencesIndexBuffer is used, its usage flag must have the BUFFER_USAGE_INDIRECT_BUFFER_BIT bit setsequencesIndexBuffer is used, sequencesIndexOffset must be aligned to VkDeviceGeneratedCommandsLimitsNVX::minSequenceIndexBufferOffsetAlignmentsType must be STRUCTURE_TYPE_CMD_PROCESS_COMMANDS_INFO_NVXpNext must be NULLobjectTable must be a valid VkObjectTableNVX handleindirectCommandsLayout must be a valid VkIndirectCommandsLayoutNVX handlepIndirectCommandsTokens must be a valid pointer to an array of indirectCommandsTokenCount valid VkIndirectCommandsTokenNVX structurestargetCommandBuffer is not NULL, targetCommandBuffer must be a valid VkCommandBuffer handlesequencesCountBuffer is not NULL_HANDLE, sequencesCountBuffer must be a valid VkBuffer handlesequencesIndexBuffer is not NULL_HANDLE, sequencesIndexBuffer must be a valid VkBuffer handleindirectCommandsTokenCount must be greater than 0indirectCommandsLayout, objectTable, sequencesCountBuffer, sequencesIndexBuffer, and targetCommandBuffer that are valid handles of non-ignored parameters must have been created, allocated, or retrieved from the same VkDeviceobjectTable must be externally synchronizedtargetCommandBuffer must be externally synchronizedVkIndirectCommandsTokenNVX, CmdProcessCommandsNVX
sType – 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 provides the command sequence to generate.indirectCommandsTokenCount – defines the number of input tokens used.pIndirectCommandsTokens – provides an array of VkIndirectCommandsTokenNVX that reference the input data for each token command.maxSequencesCount – the maximum number of sequences for which command buffer space will be reserved. If sequencesCountBuffer is NULL_HANDLE, this is also the actual number of sequences generated.targetCommandBuffer – can be the secondary VkCommandBuffer in which the commands should be recorded. If targetCommandBuffer is NULL an implicit reservation as well as execution takes place on the processing VkCommandBuffer.sequencesCountBuffer – can be VkBuffer from which the actual amount of sequences is sourced from as uint32_t value.sequencesCountOffset – the byte offset into sequencesCountBuffer where the count value is stored.sequencesIndexBuffer – must be set if indirectCommandsLayout’s INDIRECT_COMMANDS_LAYOUT_USAGE_INDEXED_SEQUENCES_BIT_NVX is set and provides the used sequence indices as uint32_t array. Otherwise it must be NULL_HANDLE.sequencesIndexOffset – the byte offset into sequencesIndexBuffer where the index values start.
struct VkCmdProcessCommandsInfoNVX {
VkStructureType sType;
void const * pNext;
VkObjectTableNVX objectTable;
VkIndirectCommandsLayoutNVX indirectCommandsLayout;
uint32_t indirectCommandsTokenCount;
VkIndirectCommandsTokenNVX const * pIndirectCommandsTokens;
uint32_t maxSequencesCount;
VkCommandBuffer targetCommandBuffer;
VkBuffer sequencesCountBuffer;
VkDeviceSize sequencesCountOffset;
VkBuffer sequencesIndexBuffer;
VkDeviceSize sequencesIndexOffset;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkCmdProcessCommandsInfoNVX.Buffer
An array of
VkCmdProcessCommandsInfoNVX structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
INDIRECTCOMMANDSLAYOUT
The struct member offsets.
|
static int |
INDIRECTCOMMANDSTOKENCOUNT
The struct member offsets.
|
static int |
MAXSEQUENCESCOUNT
The struct member offsets.
|
static int |
OBJECTTABLE
The struct member offsets.
|
static int |
PINDIRECTCOMMANDSTOKENS
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SEQUENCESCOUNTBUFFER
The struct member offsets.
|
static int |
SEQUENCESCOUNTOFFSET
The struct member offsets.
|
static int |
SEQUENCESINDEXBUFFER
The struct member offsets.
|
static int |
SEQUENCESINDEXOFFSET
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
static int |
TARGETCOMMANDBUFFER
The struct member offsets.
|
| Constructor and Description |
|---|
VkCmdProcessCommandsInfoNVX(java.nio.ByteBuffer container)
Creates a
VkCmdProcessCommandsInfoNVX instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkCmdProcessCommandsInfoNVX |
calloc()
Returns a new
VkCmdProcessCommandsInfoNVX instance allocated with memCalloc. |
static VkCmdProcessCommandsInfoNVX.Buffer |
calloc(int capacity)
Returns a new
VkCmdProcessCommandsInfoNVX.Buffer instance allocated with memCalloc. |
static VkCmdProcessCommandsInfoNVX |
callocStack()
Returns a new
VkCmdProcessCommandsInfoNVX instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkCmdProcessCommandsInfoNVX.Buffer |
callocStack(int capacity)
Returns a new
VkCmdProcessCommandsInfoNVX.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkCmdProcessCommandsInfoNVX.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkCmdProcessCommandsInfoNVX.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkCmdProcessCommandsInfoNVX |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkCmdProcessCommandsInfoNVX instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkCmdProcessCommandsInfoNVX |
create()
Returns a new
VkCmdProcessCommandsInfoNVX instance allocated with BufferUtils. |
static VkCmdProcessCommandsInfoNVX.Buffer |
create(int capacity)
Returns a new
VkCmdProcessCommandsInfoNVX.Buffer instance allocated with BufferUtils. |
static VkCmdProcessCommandsInfoNVX |
create(long address)
Returns a new
VkCmdProcessCommandsInfoNVX instance for the specified memory address. |
static VkCmdProcessCommandsInfoNVX.Buffer |
create(long address,
int capacity)
Create a
VkCmdProcessCommandsInfoNVX.Buffer instance at the specified memory. |
static VkCmdProcessCommandsInfoNVX |
createSafe(long address)
|
static VkCmdProcessCommandsInfoNVX.Buffer |
createSafe(long address,
int capacity)
|
long |
indirectCommandsLayout()
Returns the value of the
indirectCommandsLayout field. |
VkCmdProcessCommandsInfoNVX |
indirectCommandsLayout(long value)
Sets the specified value to the
indirectCommandsLayout field. |
int |
indirectCommandsTokenCount()
Returns the value of the
indirectCommandsTokenCount field. |
static VkCmdProcessCommandsInfoNVX |
malloc()
Returns a new
VkCmdProcessCommandsInfoNVX instance allocated with memAlloc. |
static VkCmdProcessCommandsInfoNVX.Buffer |
malloc(int capacity)
Returns a new
VkCmdProcessCommandsInfoNVX.Buffer instance allocated with memAlloc. |
static VkCmdProcessCommandsInfoNVX |
mallocStack()
Returns a new
VkCmdProcessCommandsInfoNVX instance allocated on the thread-local MemoryStack. |
static VkCmdProcessCommandsInfoNVX.Buffer |
mallocStack(int capacity)
Returns a new
VkCmdProcessCommandsInfoNVX.Buffer instance allocated on the thread-local MemoryStack. |
static VkCmdProcessCommandsInfoNVX.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkCmdProcessCommandsInfoNVX.Buffer instance allocated on the specified MemoryStack. |
static VkCmdProcessCommandsInfoNVX |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkCmdProcessCommandsInfoNVX instance allocated on the specified MemoryStack. |
int |
maxSequencesCount()
Returns the value of the
maxSequencesCount field. |
VkCmdProcessCommandsInfoNVX |
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 |
nindirectCommandsTokenCount(long struct)
Unsafe version of
indirectCommandsTokenCount(). |
static void |
nindirectCommandsTokenCount(long struct,
int value)
Sets the specified value to the
indirectCommandsTokenCount field of the specified struct. |
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 VkIndirectCommandsTokenNVX.Buffer |
npIndirectCommandsTokens(long struct)
Unsafe version of
pIndirectCommandsTokens(). |
static void |
npIndirectCommandsTokens(long struct,
VkIndirectCommandsTokenNVX.Buffer value)
Unsafe version of
pIndirectCommandsTokens. |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static long |
nsequencesCountBuffer(long struct)
Unsafe version of
sequencesCountBuffer(). |
static void |
nsequencesCountBuffer(long struct,
long value)
Unsafe version of
sequencesCountBuffer. |
static long |
nsequencesCountOffset(long struct)
Unsafe version of
sequencesCountOffset(). |
static void |
nsequencesCountOffset(long struct,
long value)
Unsafe version of
sequencesCountOffset. |
static long |
nsequencesIndexBuffer(long struct)
Unsafe version of
sequencesIndexBuffer(). |
static void |
nsequencesIndexBuffer(long struct,
long value)
Unsafe version of
sequencesIndexBuffer. |
static long |
nsequencesIndexOffset(long struct)
Unsafe version of
sequencesIndexOffset(). |
static void |
nsequencesIndexOffset(long struct,
long value)
Unsafe version of
sequencesIndexOffset. |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
static long |
ntargetCommandBuffer(long struct)
Unsafe version of
targetCommandBuffer(). |
static void |
ntargetCommandBuffer(long struct,
org.lwjgl.vulkan.VkCommandBuffer value)
Unsafe version of
targetCommandBuffer. |
long |
objectTable()
Returns the value of the
objectTable field. |
VkCmdProcessCommandsInfoNVX |
objectTable(long value)
Sets the specified value to the
objectTable field. |
VkIndirectCommandsTokenNVX.Buffer |
pIndirectCommandsTokens()
Returns a
VkIndirectCommandsTokenNVX.Buffer view of the struct array pointed to by the pIndirectCommandsTokens field. |
VkCmdProcessCommandsInfoNVX |
pIndirectCommandsTokens(VkIndirectCommandsTokenNVX.Buffer value)
Sets the address of the specified
VkIndirectCommandsTokenNVX.Buffer to the pIndirectCommandsTokens field. |
long |
pNext()
Returns the value of the
pNext field. |
VkCmdProcessCommandsInfoNVX |
pNext(long value)
Sets the specified value to the
pNext field. |
long |
sequencesCountBuffer()
Returns the value of the
sequencesCountBuffer field. |
VkCmdProcessCommandsInfoNVX |
sequencesCountBuffer(long value)
Sets the specified value to the
sequencesCountBuffer field. |
long |
sequencesCountOffset()
Returns the value of the
sequencesCountOffset field. |
VkCmdProcessCommandsInfoNVX |
sequencesCountOffset(long value)
Sets the specified value to the
sequencesCountOffset field. |
long |
sequencesIndexBuffer()
Returns the value of the
sequencesIndexBuffer field. |
VkCmdProcessCommandsInfoNVX |
sequencesIndexBuffer(long value)
Sets the specified value to the
sequencesIndexBuffer field. |
long |
sequencesIndexOffset()
Returns the value of the
sequencesIndexOffset field. |
VkCmdProcessCommandsInfoNVX |
sequencesIndexOffset(long value)
Sets the specified value to the
sequencesIndexOffset field. |
VkCmdProcessCommandsInfoNVX |
set(int sType,
long pNext,
long objectTable,
long indirectCommandsLayout,
VkIndirectCommandsTokenNVX.Buffer pIndirectCommandsTokens,
int maxSequencesCount,
org.lwjgl.vulkan.VkCommandBuffer targetCommandBuffer,
long sequencesCountBuffer,
long sequencesCountOffset,
long sequencesIndexBuffer,
long sequencesIndexOffset)
Initializes this struct with the specified values.
|
VkCmdProcessCommandsInfoNVX |
set(VkCmdProcessCommandsInfoNVX src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkCmdProcessCommandsInfoNVX |
sType(int value)
Sets the specified value to the
sType field. |
long |
targetCommandBuffer()
Returns the value of the
targetCommandBuffer field. |
VkCmdProcessCommandsInfoNVX |
targetCommandBuffer(org.lwjgl.vulkan.VkCommandBuffer value)
Sets the specified value to the
targetCommandBuffer field. |
static void |
validate(long struct)
Validates pointer members that should not be
NULL. |
static void |
validate(long array,
int count)
Calls
validate(long) for each struct contained in the specified struct array. |
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 INDIRECTCOMMANDSTOKENCOUNT
public static final int PINDIRECTCOMMANDSTOKENS
public static final int MAXSEQUENCESCOUNT
public static final int TARGETCOMMANDBUFFER
public static final int SEQUENCESCOUNTBUFFER
public static final int SEQUENCESCOUNTOFFSET
public static final int SEQUENCESINDEXBUFFER
public static final int SEQUENCESINDEXOFFSET
public VkCmdProcessCommandsInfoNVX(java.nio.ByteBuffer container)
VkCmdProcessCommandsInfoNVX 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 indirectCommandsTokenCount()
indirectCommandsTokenCount field.public VkIndirectCommandsTokenNVX.Buffer pIndirectCommandsTokens()
VkIndirectCommandsTokenNVX.Buffer view of the struct array pointed to by the pIndirectCommandsTokens field.public int maxSequencesCount()
maxSequencesCount field.@Nullable public long targetCommandBuffer()
targetCommandBuffer field.public long sequencesCountBuffer()
sequencesCountBuffer field.public long sequencesCountOffset()
sequencesCountOffset field.public long sequencesIndexBuffer()
sequencesIndexBuffer field.public long sequencesIndexOffset()
sequencesIndexOffset field.public VkCmdProcessCommandsInfoNVX sType(int value)
sType field.public VkCmdProcessCommandsInfoNVX pNext(long value)
pNext field.public VkCmdProcessCommandsInfoNVX objectTable(long value)
objectTable field.public VkCmdProcessCommandsInfoNVX indirectCommandsLayout(long value)
indirectCommandsLayout field.public VkCmdProcessCommandsInfoNVX pIndirectCommandsTokens(VkIndirectCommandsTokenNVX.Buffer value)
VkIndirectCommandsTokenNVX.Buffer to the pIndirectCommandsTokens field.public VkCmdProcessCommandsInfoNVX maxSequencesCount(int value)
maxSequencesCount field.public VkCmdProcessCommandsInfoNVX targetCommandBuffer(@Nullable org.lwjgl.vulkan.VkCommandBuffer value)
targetCommandBuffer field.public VkCmdProcessCommandsInfoNVX sequencesCountBuffer(long value)
sequencesCountBuffer field.public VkCmdProcessCommandsInfoNVX sequencesCountOffset(long value)
sequencesCountOffset field.public VkCmdProcessCommandsInfoNVX sequencesIndexBuffer(long value)
sequencesIndexBuffer field.public VkCmdProcessCommandsInfoNVX sequencesIndexOffset(long value)
sequencesIndexOffset field.public VkCmdProcessCommandsInfoNVX set(int sType, long pNext, long objectTable, long indirectCommandsLayout, VkIndirectCommandsTokenNVX.Buffer pIndirectCommandsTokens, int maxSequencesCount, @Nullable org.lwjgl.vulkan.VkCommandBuffer targetCommandBuffer, long sequencesCountBuffer, long sequencesCountOffset, long sequencesIndexBuffer, long sequencesIndexOffset)
public VkCmdProcessCommandsInfoNVX set(VkCmdProcessCommandsInfoNVX src)
src - the source structpublic static VkCmdProcessCommandsInfoNVX malloc()
VkCmdProcessCommandsInfoNVX instance allocated with memAlloc. The instance must be explicitly freed.public static VkCmdProcessCommandsInfoNVX calloc()
VkCmdProcessCommandsInfoNVX instance allocated with memCalloc. The instance must be explicitly freed.public static VkCmdProcessCommandsInfoNVX create()
VkCmdProcessCommandsInfoNVX instance allocated with BufferUtils.public static VkCmdProcessCommandsInfoNVX create(long address)
VkCmdProcessCommandsInfoNVX instance for the specified memory address.@Nullable public static VkCmdProcessCommandsInfoNVX createSafe(long address)
public static VkCmdProcessCommandsInfoNVX.Buffer malloc(int capacity)
VkCmdProcessCommandsInfoNVX.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkCmdProcessCommandsInfoNVX.Buffer calloc(int capacity)
VkCmdProcessCommandsInfoNVX.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkCmdProcessCommandsInfoNVX.Buffer create(int capacity)
VkCmdProcessCommandsInfoNVX.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkCmdProcessCommandsInfoNVX.Buffer create(long address, int capacity)
VkCmdProcessCommandsInfoNVX.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkCmdProcessCommandsInfoNVX.Buffer createSafe(long address, int capacity)
public static VkCmdProcessCommandsInfoNVX mallocStack()
VkCmdProcessCommandsInfoNVX instance allocated on the thread-local MemoryStack.public static VkCmdProcessCommandsInfoNVX callocStack()
VkCmdProcessCommandsInfoNVX instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkCmdProcessCommandsInfoNVX mallocStack(org.lwjgl.system.MemoryStack stack)
VkCmdProcessCommandsInfoNVX instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkCmdProcessCommandsInfoNVX callocStack(org.lwjgl.system.MemoryStack stack)
VkCmdProcessCommandsInfoNVX instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkCmdProcessCommandsInfoNVX.Buffer mallocStack(int capacity)
VkCmdProcessCommandsInfoNVX.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkCmdProcessCommandsInfoNVX.Buffer callocStack(int capacity)
VkCmdProcessCommandsInfoNVX.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkCmdProcessCommandsInfoNVX.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkCmdProcessCommandsInfoNVX.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkCmdProcessCommandsInfoNVX.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkCmdProcessCommandsInfoNVX.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 nindirectCommandsTokenCount(long struct)
indirectCommandsTokenCount().public static VkIndirectCommandsTokenNVX.Buffer npIndirectCommandsTokens(long struct)
pIndirectCommandsTokens().public static int nmaxSequencesCount(long struct)
maxSequencesCount().public static long ntargetCommandBuffer(long struct)
targetCommandBuffer().public static long nsequencesCountBuffer(long struct)
sequencesCountBuffer().public static long nsequencesCountOffset(long struct)
sequencesCountOffset().public static long nsequencesIndexBuffer(long struct)
sequencesIndexBuffer().public static long nsequencesIndexOffset(long struct)
sequencesIndexOffset().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 nindirectCommandsTokenCount(long struct,
int value)
indirectCommandsTokenCount field of the specified struct.public static void npIndirectCommandsTokens(long struct,
VkIndirectCommandsTokenNVX.Buffer value)
pIndirectCommandsTokens.public static void nmaxSequencesCount(long struct,
int value)
maxSequencesCount.public static void ntargetCommandBuffer(long struct,
@Nullable
org.lwjgl.vulkan.VkCommandBuffer value)
targetCommandBuffer.public static void nsequencesCountBuffer(long struct,
long value)
sequencesCountBuffer.public static void nsequencesCountOffset(long struct,
long value)
sequencesCountOffset.public static void nsequencesIndexBuffer(long struct,
long value)
sequencesIndexBuffer.public static void nsequencesIndexOffset(long struct,
long value)
sequencesIndexOffset.public static void validate(long struct)
NULL.struct - the struct to validatepublic static void validate(long array,
int count)
validate(long) for each struct contained in the specified struct array.array - the struct array to validatecount - the number of structs in arrayCopyright LWJGL. All Rights Reserved. License terms.