VKDRAWINDIRECTCOMMAN(3)

NAME
VkDrawIndirectCommand - Structure specifying a draw indirect command

C SPECIFICATION

The VkDrawIndirectCommand structure is defined as:

    typedef struct VkDrawIndirectCommand {
        uint32_t    vertexCount;
        uint32_t    instanceCount;
        uint32_t    firstVertex;
        uint32_t    firstInstance;
    } VkDrawIndirectCommand;

MEMBERS

    • vertexCount is the number of vertices to draw.

    • instanceCount is the number of instances to draw.

    • firstVertex is the index of the first vertex to draw.

    • firstInstance is the instance ID of the first instance to draw.

DESCRIPTION

The members of VkDrawIndirectCommand have the same meaning as the similarly named parameters of vkCmdDraw.

VALID USAGE

    • For a given vertex buffer binding, any attribute data fetched must be entirely contained within the corresponding vertex buffer binding, as described in ???

    • If the drawIndirectFirstInstance feature is not enabled, firstInstance must be 0

SEE ALSO

vkCmdDrawIndirect

DOCUMENT NOTES

For more information, see the Vulkan Specification at URL

https://www.khronos.org/registry/vulkan/specs/1.0/xhtml/vkspec.html#VkDrawIndirectCommand

This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification,not directly.

COPYRIGHT

Copyright (c) 2014-2016 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.

AUTHOR

Khronos Group
    Author.