Class VkDescriptorPoolCreateInfo

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


    public class VkDescriptorPoolCreateInfo
    extends Struct
    Khronos Reference Page
    Vulkan Specification

    Contains information about how a descriptor pool should be created.

    Valid Usage
    • sType must be STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO
    • pNext must be NULL
    • flags must be a valid combination of VkDescriptorPoolCreateFlagBits values
    • pPoolSizes must be a pointer to an array of poolSizeCount valid VkDescriptorPoolSize structures
    • poolSizeCount must be greater than 0
    • maxSets must be greater than 0

    Member documentation

    • sType – the type of this structure. Must be: STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO
    • pNext – reserved for use by extensions
    • flags – specifies certain supported operations on the pool
    • maxSets – the maximum number of descriptor sets that can be allocated from the pool
    • poolSizeCount – the number of elements in pPoolSizes
    • pPoolSizes – a pointer to an array of VkDescriptorPoolSize structures, each containing a descriptor type and number of descriptors of that type to be allocated in the pool

    Layout

    struct VkDescriptorPoolCreateInfo {
        VkStructureType sType;
        const void * pNext;
        VkDescriptorPoolCreateFlags flags;
        uint32_t maxSets;
        uint32_t poolSizeCount;
        const VkDescriptorPoolSize * pPoolSizes;
    }