Class VkIndirectCommandsLayoutCreateInfoNVX

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer

    public class VkIndirectCommandsLayoutCreateInfoNVX
    extends Struct
    implements NativeResource
    Structure specifying the parameters of a newly created indirect commands layout object.

    The following code illustrates some of the key flags:

     void cmdProcessAllSequences(cmd, objectTable, indirectCommandsLayout, pIndirectCommandsTokens, sequencesCount, indexbuffer, indexbufferoffset)
       for (s = 0; s < sequencesCount; s++)
         sequence = s;
           sequence = incoherent_implementation_dependent_permutation[ sequence ];
         if (indirectCommandsLayout.flags & VK_INDIRECT_COMMANDS_LAYOUT_USAGE_INDEXED_SEQUENCES_BIT_NVX) {
           sequence = indexbuffer.load_uint32( sequence * sizeof(uint32_t) + indexbufferoffset);
         cmdProcessSequence( cmd, objectTable, indirectCommandsLayout, pIndirectCommandsTokens, sequence );
    Valid Usage
    Valid Usage (Implicit)
    See Also

    VkIndirectCommandsLayoutTokenNVX, CreateIndirectCommandsLayoutNVX

    Member documentation

    • sType – the type of this structure.
    • pNextNULL or a pointer to an extension-specific structure.
    • pipelineBindPoint – the VkPipelineBindPoint that this layout targets.
    • flags – a bitmask of VkIndirectCommandsLayoutUsageFlagBitsNVX specifying usage hints of this layout.
    • tokenCount – the length of the individual command sequnce.
    • pTokens – an array describing each command token in detail. See VkIndirectCommandsTokenTypeNVX and VkIndirectCommandsLayoutTokenNVX below for details.


     struct VkIndirectCommandsLayoutCreateInfoNVX {
         VkStructureType sType;
         void const * pNext;
         VkPipelineBindPoint pipelineBindPoint;
         VkIndirectCommandsLayoutUsageFlagsNVX flags;
         uint32_t tokenCount;
         VkIndirectCommandsLayoutTokenNVX const * pTokens;