vkCmdDrawIndirectCount
vkCmdDrawIndirectCount is a Vulkan command that allows for indirect drawing calls. Unlike a standard vkCmdDraw command where the vertex count, instance count, and offsets are provided directly, vkCmdDrawIndirectCount retrieves these parameters from a buffer. This buffer, known as the indirect buffer, contains structured data that specifies how many vertices, instances, and the offsets to use for the draw call.
The primary advantage of vkCmdDrawIndirectCount is its ability to dynamically control drawing parameters on the GPU
The indirect buffer can be populated by the CPU or, more powerfully, by other GPU commands. For
The command takes several arguments, including the command buffer to record the command into, a buffer containing