VKCOMMANDBUFFERALLOC(3)

NAME
VkCommandBufferAllocateInfo - Structure specifying the allocation parameters for command buffer object.

C SPECIFICATION

    typedef struct VkCommandBufferAllocateInfo {
        VkStructureType         sType;
        const void*             pNext;
        VkCommandPool           commandPool;
        VkCommandBufferLevel    level;
        uint32_t                commandBufferCount;
    } VkCommandBufferAllocateInfo;

FIELDS

sType
    Structure type. Must be VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO.

pNext
    Pointer to next structure in the structure chain when applicable.

commandPool
    The pool from which to allocate the command buffers.

level
    The level of the command buffers to allocate.

commandBufferCount
    The numbef of command buffers to allocate.

DESCRIPTION

This structure is used to specify the parameters of command buffer objects allocated using vkAllocateCommandBuffers.

VALID USAGE

    • sType must be VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO

    • pNext must be NULL

    • commandPool must be a valid VkCommandPool handle

    • level must be a valid VkCommandBufferLevel value

SEE ALSO

vkAllocateCommandBuffers

COPYRIGHT

Copyright © 2014-2016 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/.

AUTHOR

Khronos Group
    Author.