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