Class VkDescriptorSetVariableDescriptorCountAllocateInfoEXT

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

    public class VkDescriptorSetVariableDescriptorCountAllocateInfoEXT
    extends Struct
    implements NativeResource
    Structure specifying additional allocation parameters for descriptor sets.
    Description

    If descriptorSetCount is zero or this structure is not included in the pNext chain, then the variable lengths are considered to be zero. Otherwise, pDescriptorCounts[i] is the number of descriptors in the variable count descriptor binding in the corresponding descriptor set layout. If the variable count descriptor binding in the corresponding descriptor set layout has a descriptor type of DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK_EXT then pDescriptorCounts[i] specifies the binding's capacity in bytes. If VkDescriptorSetAllocateInfo::pSetLayouts[i] does not include a variable count descriptor binding, then pDescriptorCounts[i] is ignored.

    Valid Usage
    • If descriptorSetCount is not zero, descriptorSetCount must equal VkDescriptorSetAllocateInfo::descriptorSetCount
    • If sVkDescriptorSetAllocateInfo::pSetLayouts[i] has a variable descriptor count binding, then pDescriptorCounts[i] must be less than or equal to the descriptor count specified for that binding when the descriptor set layout was created.
    Valid Usage (Implicit)

    Member documentation

    • sType – the type of this structure.
    • pNextNULL or a pointer to an extension-specific structure.
    • descriptorSetCount – zero or the number of elements in pDescriptorCounts.
    • pDescriptorCounts – an array of descriptor counts, with each member specifying the number of descriptors in a variable descriptor count binding in the corresponding descriptor set being allocated.

    Layout

    
     struct VkDescriptorSetVariableDescriptorCountAllocateInfoEXT {
         VkStructureType sType;
         void const * pNext;
         uint32_t descriptorSetCount;
         uint32_t const * pDescriptorCounts;
     }