LiteFX::Rendering::Backends::DirectX12FrameBuffer::image¶
image overloads
Synopses¶
Declared in <litefx/backends/dx12.hpp>
Resolves a render target name and returns the image mapped to it.
[[dllimport, dllexport]] virtual IDirectX12Image const& image(StringView renderTargetName) const override;
Returns an image from the frame buffer.
[[dllimport, dllexport]] virtual IDirectX12Image const& image(UInt32 index) const override;
Resolves a render target and returns the image mapped to it.
[[dllimport, dllexport]] virtual IDirectX12Image const& image(RenderTarget const& renderTarget) const override;
Return Value¶
- The image mapped to the render target.
- The image from the frame buffer with the index
index.
Parameters¶
| Name | Description |
|---|---|
| renderTargetName | The render target name to resolve. |
| index | The index of the image. |
| renderTarget | The render target to resolve. |