C Specification

VkDrawIndirectCount2InfoKHR is defined as:

// Provided by VK_KHR_device_address_commands
typedef struct VkDrawIndirectCount2InfoKHR {
    VkStructureType                   sType;
    const void*                       pNext;
    VkStridedDeviceAddressRangeKHR    addressRange;
    VkAddressCommandFlagsKHR          addressFlags;
    VkDeviceAddressRangeKHR           countAddressRange;
    VkAddressCommandFlagsKHR          countAddressFlags;
    uint32_t                          maxDrawCount;
} VkDrawIndirectCount2InfoKHR;

Members

  • sType is a VkStructureType value identifying this structure.

  • pNext is NULL or a pointer to a structure extending this structure.

  • addressRange is the VkStridedDeviceAddressRangeKHR containing draw parameters.

  • addressFlags is a VkAddressCommandFlagsKHR value defining the flags for the address range.

  • countAddressRange is the VkDeviceAddressRangeKHR containing the draw count.

  • countAddressFlags is a VkAddressCommandFlagsKHR value defining the flags for the count address range.

  • maxDrawCount specifies the maximum number of draws that will be executed. The actual number of executed draw calls is the minimum of the count specified in countAddressRange and maxDrawCount.

Description

Valid Usage
Valid Usage (Implicit)

See Also

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 2014-2026 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0