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);
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);
Parameters¶
| Name | Description |
|---|---|
| binding | The descriptor binding on which to bind the mapped render target. |
| renderTarget | The render target that is bound as input attachment. |
| renderPass | The render pass, the input attachment is created from. |
| outputLocation | The location to which the input attachment is written by renderPass. |