Skip to content

LiteFX::Rendering::Backends::DirectX12FrameBuffer::operator[]

Resolves a render target and returns the image mapped to it.

Synopsis

Declared in <litefx/backends/dx12.hpp>

[[dllimport, dllexport]] virtual IDirectX12Image const& operator[](RenderTarget const& renderTarget) const override;

Return Value

The image mapped to the render target.

Parameters

NameDescription
renderTargetThe render target to resolve.