Skip to content

LiteFX::Rendering::Backends::DirectX12PipelineLayout

Implements a DirectX 12 PipelineLayout.

Synopsis

Declared in <litefx/backends/dx12.hpp>

class [[dllimport, dllexport]] DirectX12PipelineLayout final
    : public PipelineLayout<DirectX12DescriptorSetLayout, DirectX12PushConstantsLayout>
    , public ComResource<ID3D12RootSignature>

Base Classes

Type Aliases

Member Functions

NameDescription
~DirectX12PipelineLayout [destructor] [virtual]Destructor
descriptorSet [virtual]Returns the descriptor set layout for the descriptor set that is bound to the space provided by space.
descriptorSets [virtual]Returns all descriptor set layouts, the pipeline has been initialized with.
device Returns a reference to the parent device.
dynamicResourceHeapAccess [virtual]Returns true, if the pipeline supports directly indexing into a resource heap and false otherwise.
dynamicSamplerHeapAccess [virtual]Returns true, if the pipeline supports directly indexing into a sampler heap and false otherwise.
handle [virtual]Returns the resource managed by the class.
pushConstants [virtual]Returns the push constants layout, or nullptr, if the pipeline does not use any push constants.
rootParameterIndex Returns the root parameter index for a push constants range
rootParameterIndex Returns the root parameter index for a descriptor set.

Static Member Functions

NameDescription
create Creates a new DirectX 12 render pipeline layout.

Protected Member Functions

NameDescription
operator= Assignment operator
operator= [deleted]Assignment operator
operator= Assignment operator
operator= Assignment operator
handle [virtual]Returns the resource managed by the class.

Friends

NameDescription
LiteFX::SharedObject::AllocatorAn allocator used to allocate the shared object.
LiteFX::Rendering::Backends::DirectX12PipelineLayoutBuilderBuilds a DirectX 12 PipelineLayout for a pipeline.
LiteFX::Rendering::Backends::DirectX12PipelineLayout::DirectX12PipelineLayoutImpl
LiteFX::PimplPtrA smart pointer that manages an implementation instance for a public interface class.

See Also

DirectX12PipelineLayoutBuilder