Class VkDescriptorPoolSize

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

    public class VkDescriptorPoolSize
    extends Struct
    implements NativeResource
    Structure specifying descriptor pool size.
    Description
    Note

    When creating a descriptor pool that will contain descriptors for combined image samplers of multi-planar formats, an application needs to account for non-trivial descriptor consumption when choosing the descriptorCount value, as indicated by VkSamplerYcbcrConversionImageFormatProperties::combinedImageSamplerDescriptorCount.

    Valid Usage
    Valid Usage (Implicit)
    • type must be a valid VkDescriptorType value
    See Also

    VkDescriptorPoolCreateInfo

    Member documentation

    • type – the type of descriptor.
    • descriptorCount – the number of descriptors of that type to allocate. If type is DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK_EXT then descriptorCount is the number of bytes to allocate for descriptors of this type.

    Layout

    
     struct VkDescriptorPoolSize {
         VkDescriptorType type;
         uint32_t descriptorCount;
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • TYPE, DESCRIPTORCOUNT

        The struct member offsets.
    • Constructor Detail

      • VkDescriptorPoolSize

        public VkDescriptorPoolSize​(java.nio.ByteBuffer container)
        Creates a VkDescriptorPoolSize 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.