Skip to content

LiteFX::Rendering::Backends::DirectX12RenderPassBuilder::inputAttachment

Adds an input attachment to the render pass.

Synopses

Declared in <litefx/rendering_builders.hpp>

Adds an input attachment to the render pass.

template<typename TSelf>
TSelf&& inputAttachment(this 
    TSelf&& self,
    DescriptorBindingPoint binding,
    RenderTarget renderTarget);

» more...

Adds an input attachment to the render pass.

template<typename TSelf>
constexpr TSelf&& inputAttachment(this 
    TSelf&& self,
    DescriptorBindingPoint binding,
    render_pass_type const& renderPass,
    UInt32 outputLocation);

» more...

Parameters

NameDescription
bindingThe descriptor binding on which to bind the mapped render target.
renderTargetThe render target that is bound as input attachment.
renderPassThe render pass, the input attachment is created from.
outputLocationThe location to which the input attachment is written by renderPass.