Skip to content

LiteFX::Rendering::Backends::DirectX12DescriptorSetLayoutBuilder

Builds a DirectX12DescriptorSetLayout for a pipeline layout.

Synopsis

Declared in <litefx/backends/dx12_builders.hpp>

class [[dllexport, nodiscard]] DirectX12DescriptorSetLayoutBuilder final
    : public DescriptorSetLayoutBuilder<DirectX12DescriptorSetLayout, DirectX12PipelineLayoutBuilder>

Base Classes

Type Aliases

Member Functions

NameDescription
DirectX12DescriptorSetLayoutBuilder [constructor]Initializes a DirectX 12 descriptor set layout builder.
~DirectX12DescriptorSetLayoutBuilder [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

NameDescription
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

DirectX12DescriptorSetLayout

DirectX12RenderPipeline

DirectX12ComputePipeline