Class VkDescriptorSetVariableDescriptorCountLayoutSupport

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkDescriptorSetVariableDescriptorCountLayoutSupport>
org.lwjgl.vulkan.VkDescriptorSetVariableDescriptorCountLayoutSupport
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer
Direct Known Subclasses:
VkDescriptorSetVariableDescriptorCountLayoutSupportEXT

public class VkDescriptorSetVariableDescriptorCountLayoutSupport extends org.lwjgl.system.Struct<VkDescriptorSetVariableDescriptorCountLayoutSupport> implements org.lwjgl.system.NativeResource
Structure returning information about whether a descriptor set layout can be supported.
Description

If the VkDescriptorSetLayoutCreateInfo structure specified in GetDescriptorSetLayoutSupport::pCreateInfo includes a variable-sized descriptor, then supported is determined assuming the requested size of the variable-sized descriptor, and maxVariableDescriptorCount is the maximum size of that descriptor that can be successfully created (which is greater than or equal to the requested size passed in). If the VkDescriptorSetLayoutCreateInfo structure does not include a variable-sized descriptor, or if the VkPhysicalDeviceDescriptorIndexingFeatures::descriptorBindingVariableDescriptorCount feature is not enabled, then maxVariableDescriptorCount is zero. For the purposes of this command, a variable-sized descriptor binding with a descriptorCount of zero is treated as having a descriptorCount of four if descriptorType is DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK, or one otherwise, and thus the binding is not ignored and the maximum descriptor count will be returned. If the layout is not supported, then the value written to maxVariableDescriptorCount is undefined.

Valid Usage (Implicit)

Layout


 struct VkDescriptorSetVariableDescriptorCountLayoutSupport {
     VkStructureType sType();
     void * pNext();
     uint32_t maxVariableDescriptorCount();
 }