Skip to content

LiteFX::Rendering::IFrameBuffer::addImages

Adds multiple images for a set of render targets to the frame buffer.

Synopsis

Declared in <litefx/rendering_api.hpp>

template<typename TSelf>
TSelf&& addImages(this 
    TSelf&& self,
    Span<RenderTarget const> renderTargets,
    MultiSamplingLevel samples = MultiSamplingLevel::x1,
    ResourceUsage usage = ResourceUsage::FrameBufferImage);

Description

Note that the names of the images are built from the render target names.

Parameters

NameDescription
renderTargetsThe render targets for which to add an image.
samplesThe number of samples of the image.
usageThe desired resource usage flags for the image.