stream must be smaller than VkIndirectCommandsLayoutCreateInfoNV::streamCountoffset must be less than or equal to VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV::maxIndirectCommandsTokenOffsetoffset must be aligned to the scalar alignment of tokenType or minIndirectCommandsBufferOffsetAlignment, whichever is lowertokenType is INDIRECT_COMMANDS_TOKEN_TYPE_VERTEX_BUFFER_NV, vertexBindingUnit must stay within device supported limits for the appropriate commandstokenType is INDIRECT_COMMANDS_TOKEN_TYPE_PUSH_CONSTANT_NV, pushconstantPipelineLayout must be validtokenType is INDIRECT_COMMANDS_TOKEN_TYPE_PUSH_CONSTANT_NV, pushconstantOffset must be a multiple of 4tokenType is INDIRECT_COMMANDS_TOKEN_TYPE_PUSH_CONSTANT_NV, pushconstantSize must be a multiple of 4tokenType is INDIRECT_COMMANDS_TOKEN_TYPE_PUSH_CONSTANT_NV, pushconstantOffset must be less than VkPhysicalDeviceLimits::maxPushConstantsSizetokenType is INDIRECT_COMMANDS_TOKEN_TYPE_PUSH_CONSTANT_NV, pushconstantSize must be less than or equal to VkPhysicalDeviceLimits::maxPushConstantsSize minus pushconstantOffsettokenType is INDIRECT_COMMANDS_TOKEN_TYPE_PUSH_CONSTANT_NV, for each byte in the range specified by pushconstantOffset and pushconstantSize and for each shader stage in pushconstantShaderStageFlags, there must be a push constant range in pushconstantPipelineLayout that includes that byte and that stagetokenType is INDIRECT_COMMANDS_TOKEN_TYPE_PUSH_CONSTANT_NV, for each byte in the range specified by pushconstantOffset and pushconstantSize and for each push constant range that overlaps that byte, pushconstantShaderStageFlags must include all stages in that push constant range’s VkPushConstantRange::stageFlagstokenType is INDIRECT_COMMANDS_TOKEN_TYPE_STATE_FLAGS_NV, indirectStateFlags must not be 0sType must be STRUCTURE_TYPE_INDIRECT_COMMANDS_LAYOUT_TOKEN_NVpNext must be NULLtokenType must be a valid VkIndirectCommandsTokenTypeNV valuepushconstantPipelineLayout is not NULL_HANDLE, pushconstantPipelineLayout must be a valid VkPipelineLayout handlepushconstantShaderStageFlags must be a valid combination of VkShaderStageFlagBits valuesindirectStateFlags must be a valid combination of VkIndirectStateFlagBitsNV valuesindexTypeCount is not 0, pIndexTypes must be a valid pointer to an array of indexTypeCount valid VkIndexType valuesindexTypeCount is not 0, pIndexTypeValues must be a valid pointer to an array of indexTypeCount uint32_t valuesVkIndirectCommandsLayoutCreateInfoNV
struct VkIndirectCommandsLayoutTokenNV {
VkStructureType sType;
void const * pNext;
VkIndirectCommandsTokenTypeNV tokenType;
uint32_t stream;
uint32_t offset;
uint32_t vertexBindingUnit;
VkBool32 vertexDynamicStride;
VkPipelineLayout pushconstantPipelineLayout;
VkShaderStageFlags pushconstantShaderStageFlags;
uint32_t pushconstantOffset;
uint32_t pushconstantSize;
VkIndirectStateFlagsNV indirectStateFlags;
uint32_t indexTypeCount;
VkIndexType const * pIndexTypes;
uint32_t const * pIndexTypeValues;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkIndirectCommandsLayoutTokenNV.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | INDEXTYPECOUNT
The struct member offsets. |
| public static final int | INDIRECTSTATEFLAGS
The struct member offsets. |
| public static final int | OFFSET
The struct member offsets. |
| public static final int | PINDEXTYPES
The struct member offsets. |
| public static final int | PINDEXTYPEVALUES
The struct member offsets. |
| public static final int | PNEXT
The struct member offsets. |
| public static final int | PUSHCONSTANTOFFSET
The struct member offsets. |
| public static final int | PUSHCONSTANTPIPELINELAYOUT
The struct member offsets. |
| public static final int | PUSHCONSTANTSHADERSTAGEFLAGS
The struct member offsets. |
| public static final int | PUSHCONSTANTSIZE
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | STREAM
The struct member offsets. |
| public static final int | STYPE
The struct member offsets. |
| public static final int | TOKENTYPE
The struct member offsets. |
| public static final int | VERTEXBINDINGUNIT
The struct member offsets. |
| public static final int | VERTEXDYNAMICSTRIDE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkIndirectCommandsLayoutTokenNV(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkIndirectCommandsLayoutTokenNV | |
| public static VkIndirectCommandsLayoutTokenNV. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkIndirectCommandsLayoutTokenNV | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkIndirectCommandsLayoutTokenNV. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected VkIndirectCommandsLayoutTokenNV | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static VkIndirectCommandsLayoutTokenNV | |
| public static VkIndirectCommandsLayoutTokenNV | create(long address)
Returns a new |
| public static VkIndirectCommandsLayoutTokenNV. | create(int
the buffer capacity capacity)Returns a new |
| public static VkIndirectCommandsLayoutTokenNV. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkIndirectCommandsLayoutTokenNV | |
| public static VkIndirectCommandsLayoutTokenNV. | |
| public int | |
| public VkIndirectCommandsLayoutTokenNV | |
| public int | |
| public VkIndirectCommandsLayoutTokenNV | |
| public static VkIndirectCommandsLayoutTokenNV | |
| public static VkIndirectCommandsLayoutTokenNV. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkIndirectCommandsLayoutTokenNV | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkIndirectCommandsLayoutTokenNV. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static int | |
| public static void | nindexTypeCount(long struct, int value)
Sets the specified value to the |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static IntBuffer | |
| public static void | |
| public static IntBuffer | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | npushconstantShaderStageFlags(long struct, int value)
Unsafe version of |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public int | |
| public VkIndirectCommandsLayoutTokenNV | |
| public IntBuffer | |
| public VkIndirectCommandsLayoutTokenNV | |
| public IntBuffer | |
| public VkIndirectCommandsLayoutTokenNV | pIndexTypeValues(IntBuffer value)
Sets the address of the specified |
| public long | |
| public VkIndirectCommandsLayoutTokenNV | |
| public int | |
| public VkIndirectCommandsLayoutTokenNV | |
| public long | |
| public VkIndirectCommandsLayoutTokenNV | pushconstantPipelineLayout(long value)
Sets the specified value to the |
| public int | |
| public VkIndirectCommandsLayoutTokenNV | pushconstantShaderStageFlags(int value)
Sets the specified value to the |
| public int | |
| public VkIndirectCommandsLayoutTokenNV | |
| public VkIndirectCommandsLayoutTokenNV | set(int sType, long pNext, int tokenType, int stream$, int offset, int vertexBindingUnit, boolean vertexDynamicStride, long pushconstantPipelineLayout, int pushconstantShaderStageFlags, int pushconstantOffset, int pushconstantSize, int indirectStateFlags, int indexTypeCount, IntBuffer pIndexTypes, IntBuffer pIndexTypeValues)
Initializes this struct with the specified values. |
| public VkIndirectCommandsLayoutTokenNV | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkIndirectCommandsLayoutTokenNV | |
| public int | |
| public VkIndirectCommandsLayoutTokenNV | |
| public VkIndirectCommandsLayoutTokenNV | |
| public int | |
| public VkIndirectCommandsLayoutTokenNV | |
| public static void | |
| public int | |
| public VkIndirectCommandsLayoutTokenNV | |
| public boolean | vertexDynamicStride()
sets if the vertex buffer stride is provided by the binding command rather than the current bound graphics pipeline state. |
| public VkIndirectCommandsLayoutTokenNV |