C Specification

VkDrawIndirect2InfoKHR is defined as:

// Provided by VK_KHR_device_address_commands
typedef struct VkDrawIndirect2InfoKHR {
    VkStructureType                   sType;
    const void*                       pNext;
    VkStridedDeviceAddressRangeKHR    addressRange;
    VkAddressCommandFlagsKHR          addressFlags;
    uint32_t                          drawCount;
} VkDrawIndirect2InfoKHR;

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.

  • drawCount is the number of draws to execute, and can be zero.

Description

Valid Usage
  • VUID-VkDrawIndirect2InfoKHR-drawCount-02718
    If the multiDrawIndirect feature is not enabled, drawCount must be 0 or 1

  • VUID-VkDrawIndirect2InfoKHR-drawCount-02719
    drawCount must be less than or equal to VkPhysicalDeviceLimits::maxDrawIndirectCount

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