Skip to content

LiteFX::Rendering::Backends::DirectX12FrameBuffer::mapRenderTarget

Maps a render target to a frame buffer image.

Synopses

Declared in <litefx/backends/dx12.hpp>

Maps a render target to a frame buffer image.

[[dllimport, dllexport]] virtual void mapRenderTarget(
    RenderTarget const& renderTarget,
    StringView name) override;

» more...

Maps a render target to a frame buffer image.

[[dllimport, dllexport]] virtual void mapRenderTarget(
    RenderTarget const& renderTarget,
    UInt32 index) override;

» more...

Parameters

NameDescription
renderTargetThe render target to map the image to.
indexThe index of the image to map to the render target.

See Also

unmapRenderTarget