Class VkDescriptorSetAllocateInfo

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

    public class VkDescriptorSetAllocateInfo
    extends Struct
    implements NativeResource
    Structure specifying the allocation parameters for descriptor sets.
    Valid Usage
    Valid Usage (Implicit)
    • sType must be STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO
    • pNext must be NULL or a pointer to a valid instance of VkDescriptorSetVariableDescriptorCountAllocateInfoEXT
    • descriptorPool must be a valid VkDescriptorPool handle
    • pSetLayouts must be a valid pointer to an array of descriptorSetCount valid VkDescriptorSetLayout handles
    • descriptorSetCount must be greater than 0
    • Both of descriptorPool, and the elements of pSetLayouts must have been created, allocated, or retrieved from the same VkDevice
    See Also

    AllocateDescriptorSets

    Member documentation

    • sType – the type of this structure.
    • pNextNULL or a pointer to an extension-specific structure.
    • descriptorPool – the pool which the sets will be allocated from.
    • descriptorSetCount – determines the number of descriptor sets to be allocated from the pool.
    • pSetLayouts – an array of descriptor set layouts, with each member specifying how the corresponding descriptor set is allocated.

    Layout

    
     struct VkDescriptorSetAllocateInfo {
         VkStructureType sType;
         void const * pNext;
         VkDescriptorPool descriptorPool;
         uint32_t descriptorSetCount;
         VkDescriptorSetLayout const * pSetLayouts;
     }