LiteFX::Rendering::Backends::VulkanDescriptorSetLayoutBuilder¶
Builds a VulkanDescriptorSetLayout for a VulkanPipelineLayout.
Synopsis¶
Declared in <litefx/backends/vulkan_builders.hpp>
class [[dllexport, nodiscard]] VulkanDescriptorSetLayoutBuilder final
: public DescriptorSetLayoutBuilder<VulkanDescriptorSetLayout, VulkanPipelineLayoutBuilder>
Base Classes¶
| Name | Description |
|---|---|
DescriptorSetLayoutBuilder<VulkanDescriptorSetLayout, VulkanPipelineLayoutBuilder> | Builds a DescriptorSetLayout for a PipelineLayout. |
Type Aliases¶
Member Functions¶
| Name | Description |
|---|---|
VulkanDescriptorSetLayoutBuilder [constructor] | Initializes a Vulkan descriptor set layout builder. |
~VulkanDescriptorSetLayoutBuilder [destructor] [virtual] | Destructor |
operator= | Assignment operators |
shaderStages | Sets the shader stages, the descriptor set is accessible from. |
space | Sets the space, the descriptor set is bound to. |
use | Adds a descriptor layout to the descriptor set. |
withAccelerationStructure | Adds a ray-tracing acceleration structure. |
withBuffer | Adds a texel buffer descriptor. |
withBufferArray | Adds a texel buffer descriptor array. |
withByteAddressBuffer | Adds a byte address buffer descriptor. |
withByteAddressBufferArray | Adds a byte address buffer descriptor array. |
withConstantBuffer | Adds an uniform/constant buffer descriptor. |
withConstantBufferArray | Adds an uniform/constant buffer descriptor array. |
withDescriptor | Adds a descriptor to the descriptor set layout. |
withInputAttachment | Adds an input attachment descriptor. |
withResourceHeapAccess | Adds a proxy descriptor that can be used with dynamic resource indexing. |
withSampler | Adds a sampler descriptor. |
withSamplerArray | Adds a sampler descriptor. |
withSamplerHeapAccess | Adds a proxy descriptor that can be used with dynamic sampler indexing. |
withStaticSampler | Defines a static sampler at the descriptor bound to binding. |
withStructuredBuffer | Adds a storage/structured buffer descriptor. |
withStructuredBufferArray | Adds a storage/structured buffer descriptor array. |
withTexture | Adds an image/texture descriptor. |
withTextureArray | Adds an image/texture descriptor. |
Using Declarations¶
Protected Member Functions¶
| Name | Description |
|---|---|
build [virtual] | Can be overwritten to perform any pre-construction work before the builder returns the final object instance. |
makeDescriptor | makeDescriptor overloads |
Return Value¶
Note
The return value should not be discarded.
See Also¶
VulkanDescriptorSetLayout
VulkanRenderPipeline
VulkanComputePipeline