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)
    • 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


    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.


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

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.

        The struct member offsets.
    • Constructor Detail

      • VkDescriptorSetAllocateInfo

        public VkDescriptorSetAllocateInfo​(java.nio.ByteBuffer container)
        Creates a VkDescriptorSetAllocateInfo instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

        The created instance holds a strong reference to the container object.