Vulkan-Docs/doc/specs/vulkan/validity/structs/VkDescriptorSetAllocateInfo...

21 lines
1.1 KiB
Plaintext

// WARNING: DO NOT MODIFY! This file is automatically generated from the vk.xml registry
ifndef::doctype-manpage[]
.Valid Usage
********************************************************************************
endif::doctype-manpage[]
ifdef::doctype-manpage[]
Valid Usage
-----------
endif::doctype-manpage[]
* pname:sType must: be ename:VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO
* pname:pNext must: be `NULL`
* pname:descriptorPool must: be a valid sname:VkDescriptorPool handle
* pname:pSetLayouts must: be a pointer to an array of pname:descriptorSetCount valid sname:VkDescriptorSetLayout handles
* The value of pname:descriptorSetCount must: be greater than `0`
* Each of pname:descriptorPool and the elements of pname:pSetLayouts must: have been created, allocated or retrieved from the same sname:VkDevice
* The value of pname:descriptorSetCount mustnot: be greater than the number of sets that are currently available for allocation in pname:descriptorPool
ifndef::doctype-manpage[]
********************************************************************************
endif::doctype-manpage[]