VkDrawMeshTasksIndirectCommandNV(3)

# VkDrawMeshTasksIndirectCommandNV(3) Manual Page

## Name

VkDrawMeshTasksIndirectCommandNV - Structure specifying a mesh tasks draw indirect command

Loading… please wait.

## C Specification

The `VkDrawMeshTasksIndirectCommandNV` structure is defined as:

    // Provided by VK_NV_mesh_shader
    typedef struct VkDrawMeshTasksIndirectCommandNV {
        uint32_t    taskCount;
        uint32_t    firstTask;
    } VkDrawMeshTasksIndirectCommandNV;

## Members

- `taskCount` is the number of local workgroups to dispatch in the X dimension. Y and Z dimension are implicitly set to one.

- `firstTask` is the X component of the first workgroup ID.

## Description

The members of `VkDrawMeshTasksIndirectCommandNV` have the same meaning as the similarly named parameters of vkCmdDrawMeshTasksNV.

Valid Usage

- VUID-VkDrawMeshTasksIndirectCommandNV-taskCount-02175
  `taskCount` must be less than or equal to `VkPhysicalDeviceMeshShaderPropertiesNV`::`maxDrawMeshTasksCount`

## See Also

VK_NV_mesh_shader, vkCmdDrawMeshTasksIndirectNV

## 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-2025 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0