|
| VulkanDescriptorSetLayout (const VulkanDevice &device, Array< UniquePtr< VulkanDescriptorLayout > > &&descriptorLayouts, const UInt32 &space, const ShaderStage &stages, const UInt32 &poolSize=1024, const UInt32 &maxUnboundedArraySize=104857) |
| Initializes a Vulkan descriptor set layout. More...
|
|
| VulkanDescriptorSetLayout (VulkanDescriptorSetLayout &&)=delete |
|
| VulkanDescriptorSetLayout (const VulkanDescriptorSetLayout &)=delete |
|
virtual | ~VulkanDescriptorSetLayout () noexcept |
|
virtual const VulkanDevice & | device () const noexcept |
| Returns the device, the pipeline layout has been created from. More...
|
|
virtual Array< const VulkanDescriptorLayout * > | descriptors () const noexcept override |
|
virtual const VulkanDescriptorLayout & | descriptor (const UInt32 &binding) const override |
| Returns the descriptor layout for the descriptor bound to the binding point provided with binding . More...
|
|
virtual const UInt32 & | space () const noexcept override |
| Returns the space index of the descriptor set. More...
|
|
virtual const ShaderStage & | shaderStages () const noexcept override |
| Returns the shader stages, the descriptor set is used in. More...
|
|
virtual UInt32 | uniforms () const noexcept override |
| Returns the number of uniform/constant buffer descriptors within the descriptor set. More...
|
|
virtual UInt32 | storages () const noexcept override |
| Returns the number of structured and byte address buffer descriptors within the descriptor set. More...
|
|
virtual UInt32 | images () const noexcept override |
| Returns the number of image (i.e. texture) descriptors within the descriptor set. More...
|
|
virtual UInt32 | buffers () const noexcept override |
| Returns the number of texel buffer descriptors within the descriptor set. More...
|
|
virtual UInt32 | samplers () const noexcept override |
| Returns the number of dynamic sampler descriptors within the descriptor set. More...
|
|
virtual UInt32 | staticSamplers () const noexcept override |
| Returns the number of static or immutable sampler descriptors within the descriptor set. More...
|
|
virtual UInt32 | inputAttachments () const noexcept override |
| Returns the number of input attachment descriptors within the descriptor set. More...
|
|
virtual UniquePtr< VulkanDescriptorSet > | allocate (const UInt32 &descriptors=0) const override |
|
virtual Array< UniquePtr< VulkanDescriptorSet > > | allocateMultiple (const UInt32 &descriptorSets, const UInt32 &descriptors=0) const override |
|
virtual void | free (const VulkanDescriptorSet &descriptorSet) const noexcept override |
|
virtual const UInt32 & | poolSize () const noexcept |
| The size of each descriptor pool. More...
|
|
virtual size_t | pools () const noexcept |
| Returns the number of active descriptor pools. More...
|
|
virtual | ~DescriptorSetLayout () noexcept=default |
|
virtual Array< const descriptor_layout_type * > | descriptors () const noexcept=0 |
|
virtual const descriptor_layout_type & | descriptor (const UInt32 &binding) const=0 |
| Returns the descriptor layout for the descriptor bound to the binding point provided with binding . More...
|
|
virtual UniquePtr< descriptor_set_type > | allocate (const UInt32 &descriptors=0) const=0 |
|
virtual Array< UniquePtr< descriptor_set_type > > | allocateMultiple (const UInt32 &descriptorSets, const UInt32 &descriptors=0) const=0 |
|
virtual void | free (const descriptor_set_type &descriptorSet) const noexcept=0 |
|
virtual | ~IDescriptorSetLayout () noexcept=default |
|
Array< const IDescriptorLayout * > | descriptors () const noexcept |
| Returns the layouts of the descriptors within the descriptor set. More...
|
|
virtual const IDescriptorLayout & | descriptor (const UInt32 &binding) const =0 |
| Returns the descriptor layout for the descriptor bound to the binding point provided with binding . More...
|
|
virtual const UInt32 & | space () const noexcept=0 |
| Returns the space index of the descriptor set. More...
|
|
virtual const ShaderStage & | shaderStages () const noexcept=0 |
| Returns the shader stages, the descriptor set is used in. More...
|
|
virtual UInt32 | uniforms () const noexcept=0 |
| Returns the number of uniform/constant buffer descriptors within the descriptor set. More...
|
|
virtual UInt32 | storages () const noexcept=0 |
| Returns the number of structured and byte address buffer descriptors within the descriptor set. More...
|
|
virtual UInt32 | images () const noexcept=0 |
| Returns the number of image (i.e. texture) descriptors within the descriptor set. More...
|
|
virtual UInt32 | buffers () const noexcept=0 |
| Returns the number of texel buffer descriptors within the descriptor set. More...
|
|
virtual UInt32 | samplers () const noexcept=0 |
| Returns the number of dynamic sampler descriptors within the descriptor set. More...
|
|
virtual UInt32 | staticSamplers () const noexcept=0 |
| Returns the number of static or immutable sampler descriptors within the descriptor set. More...
|
|
virtual UInt32 | inputAttachments () const noexcept=0 |
| Returns the number of input attachment descriptors within the descriptor set. More...
|
|
UniquePtr< IDescriptorSet > | allocate (const UInt32 &descriptors=0) const |
| Allocates a new descriptor set or returns an instance of an unused descriptor set. More...
|
|
Array< UniquePtr< IDescriptorSet > > | allocateMultiple (const UInt32 &descriptorSets, const UInt32 &descriptors=0) const |
| Allocates an array of descriptor sets. More...
|
|
void | free (const IDescriptorSet &descriptorSet) const noexcept |
| Marks a descriptor set as unused, so that it can be handed out again instead of allocating a new one. More...
|
|
| Resource (const Resource &)=delete |
|
| Resource (Resource &&)=delete |
|
virtual | ~Resource () noexcept=default |
|
const VkDescriptorSetLayout & | handle () const noexcept override |
| Returns the resource managed by the class. More...
|
|
virtual | ~IResource () noexcept=default |
|
virtual const VkDescriptorSetLayout & | handle () const noexcept=0 |
| Returns the resource managed by the class. More...
|
|
Implements a Vulkan DescriptorSetLayout.
- See also
- VulkanDescriptorSet, VulkanDescriptorSetLayoutBuilder