Skip to content

LiteFX::Rendering::RenderPassBuilder::inputAttachment

Adds an input attachment to the render pass.

Synopsis

Declared in <litefx/rendering_builders.hpp>

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

Parameters

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