Class VkCommandBufferAllocateInfo

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer

    public class VkCommandBufferAllocateInfo
    extends Struct
    implements NativeResource
    Structure specifying the allocation parameters for command buffer object.
    Valid Usage
    • commandBufferCount must be greater than 0
    Valid Usage (Implicit)
    See Also

    AllocateCommandBuffers

    Member documentation

    • sType – the type of this structure.
    • pNextNULL or a pointer to an extension-specific structure.
    • commandPool – the command pool from which the command buffers are allocated.
    • level – a VkCommandBufferLevel value specifying the command buffer level.
    • commandBufferCount – the number of command buffers to allocate from the pool.

    Layout

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