Skip to content

LiteFX::Rendering::IFrameBuffer::operator[]

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

Synopsis

Declared in <litefx/rendering_api.hpp>

[[dllimport, dllexport]] virtual IImage const& operator[](StringView renderTargetName) const = 0;

Exceptions

NameThrown on
InvalidArgumentExceptionThrown, if renderTargetName is not mapped to an image in the frame buffer.

Return Value

The image mapped to the render target.

Parameters

NameDescription
renderTargetNameThe render target name to resolve.