class
DescriptorSetLayoutDescribes the layout of descriptor bindings that pipelines can use to access resources. Serves as a template for creating tp::
Constructors, destructors, conversion operators
- DescriptorSetLayout()
- Creates a null descriptor set layout.
Public functions
- auto getBindings() const -> ArrayView<const DescriptorBinding>
- Returns the descriptor bindings that were used to create this layout.
- auto getDescriptorCount() const -> uint32_t
- Returns the number of descriptors in this layout, equal to the sum of
arraySize
of all the tp::DescriptorBinding objects used to define the layout. - auto isNull() const -> bool
- Returns
true
if the descriptor set layout is null and not valid for use. - auto vkGetDescriptorSetLayoutHandle() const -> VkDescriptorSetLayoutHandle
- Returns the associated VkDescriptorSetLayout handle.
- auto vkGetDescriptorUpdateTemplateHandle() const -> VkDescriptorUpdateTemplateHandle
- Returns the associated VkDescriptorUpdateTemplate handle.