# VkDrawIndirectCountIndirectCommandEXT(3) Manual Page

## Name

VkDrawIndirectCountIndirectCommandEXT - Structure specifying input data for a single draw-type command token

Loading… please wait.

## C Specification

The `VkDrawIndirectCountIndirectCommandEXT` structure specifies the input data for all draw-type tokens.

    // Provided by VK_EXT_device_generated_commands
    typedef struct VkDrawIndirectCountIndirectCommandEXT {
        VkDeviceAddress    bufferAddress;
        uint32_t           stride;
        uint32_t           commandCount;
    } VkDrawIndirectCountIndirectCommandEXT;

## Members

- `bufferAddress` specifies a physical address of the VkBuffer used for draw commands.

- `stride` is the byte size stride for the command arguments

- `commandCount` is the number of commands to execute

## Description

The corresponding indirect draw struct data will be read from the buffer address.

Valid Usage

- VUID-VkDrawIndirectCountIndirectCommandEXT-None-11122
  The buffer’s usage flag from which the address was acquired must have the `VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT` bit set

- VUID-VkDrawIndirectCountIndirectCommandEXT-None-11123
  Each element of the buffer from which the address was acquired and that is non-sparse must be bound completely and contiguously to a single `VkDeviceMemory` object

## See Also

VK_EXT_device_generated_commands, VkDeviceAddress

## Document Notes

For more information, see the Vulkan Specification

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

## Copyright

Copyright 2014-2024 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0