VkCommandBufferLevel(3)

# VkCommandBufferLevel(3) Manual Page

## Name

VkCommandBufferLevel - Enumerant specifying a command buffer level

## C Specification

Possible values of VkCommandBufferAllocateInfo::`level`, specifying the command buffer level, are:

    // Provided by VK_VERSION_1_0
    typedef enum VkCommandBufferLevel {
        VK_COMMAND_BUFFER_LEVEL_PRIMARY = 0,
        VK_COMMAND_BUFFER_LEVEL_SECONDARY = 1,
    } VkCommandBufferLevel;

## Description

- VK_COMMAND_BUFFER_LEVEL_PRIMARY specifies a primary command buffer.

- VK_COMMAND_BUFFER_LEVEL_SECONDARY specifies a secondary command buffer.

## See Also

VK_VERSION_1_0, VkCommandBufferAllocateInfo

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

SPDX-License-Identifier: CC-BY-4.0