Skip to content

LiteFX::Rendering::Backends::DirectX12FrameBuffer::addImage

addImage overloads

Synopses

Declared in <litefx/backends/dx12.hpp>

Adds an image to the frame buffer.

[[dllimport, dllexport]] virtual void addImage(
    String const& name,
    Format format,
    MultiSamplingLevel samples = MultiSamplingLevel::x1,
    ResourceUsage usage = ResourceUsage::FrameBufferImage) override;

» more...

Adds an image for a render target to the frame buffer.

[[dllimport, dllexport]] virtual void addImage(
    String const& name,
    RenderTarget const& renderTarget,
    MultiSamplingLevel samples = MultiSamplingLevel::x1,
    ResourceUsage usage = ResourceUsage::FrameBufferImage) override;

» more...

Parameters

NameDescription
nameThe name of the image.
formatThe format of the image.
samplesThe number of samples of the image.
usageThe desired resource usage flags for the image.
renderTargetThe render target for which to add an image.