LiteFX::Rendering::IFrameBuffer::image¶
Resolves a render target name and returns the image mapped to it.
Synopsis¶
Declared in <litefx/rendering_api.hpp>
[[dllimport, dllexport]] virtual IImage const& image(StringView renderTargetName) const = 0;
Exceptions¶
| Name | Thrown on |
|---|---|
InvalidArgumentException | Thrown, if renderTargetName is not mapped to an image in the frame buffer. |
Return Value¶
The image mapped to the render target.
Parameters¶
| Name | Description |
|---|---|
| renderTargetName | The render target name to resolve. |