C Specification

The VkDescriptorPoolSize structure is defined as:

// Provided by VK_VERSION_1_0
typedef struct VkDescriptorPoolSize {
    VkDescriptorType    type;
    uint32_t            descriptorCount;
} VkDescriptorPoolSize;


  • type is the type of descriptor.

  • descriptorCount is the number of descriptors of that type to allocate.


Valid Usage
  • VUID-VkDescriptorPoolSize-descriptorCount-00302
    descriptorCount must be greater than 0

Valid Usage (Implicit)
  • VUID-VkDescriptorPoolSize-type-parameter
    type must be a valid VkDescriptorType value

See Also

Document Notes

For more information, see the Vulkan Specification

This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.

Copyright 2014-2023 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0