Class VkDescriptorSetAllocateInfo

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkDescriptorSetAllocateInfo>
org.lwjgl.vulkan.VkDescriptorSetAllocateInfo
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class VkDescriptorSetAllocateInfo extends org.lwjgl.system.Struct<VkDescriptorSetAllocateInfo> implements org.lwjgl.system.NativeResource
Structure specifying the allocation parameters for descriptor sets.
Valid Usage
Valid Usage (Implicit)
  • sType must be STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO
  • pNext must be NULL or a pointer to a valid instance of VkDescriptorSetVariableDescriptorCountAllocateInfo
  • The sType value of each struct in the pNext chain must be unique
  • 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

AllocateDescriptorSets

Layout


 struct VkDescriptorSetAllocateInfo {
     VkStructureType sType();
     void const * pNext();
     VkDescriptorPool descriptorPool();
     uint32_t descriptorSetCount();
     VkDescriptorSetLayout const * pSetLayouts();
 }