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¶
| Name | Description |
|---|---|
| renderTargets | The render targets for which to add an image. |
| samples | The number of samples of the image. |
| usage | The desired resource usage flags for the image. |