LiteFX::Rendering::Backends::VulkanFrameBuffer::operator[]¶
Subscript operators
Synopses¶
Declared in <litefx/backends/vulkan.hpp>
Resolves a render target name and returns the image mapped to it.
[[dllimport, dllexport]] virtual IVulkanImage const& operator[](StringView renderTargetName) const override;
Returns an image from the frame buffer.
[[dllimport, dllexport]] virtual IVulkanImage const& operator[](UInt32 index) const override;
Resolves a render target and returns the image mapped to it.
[[dllimport, dllexport]] virtual IVulkanImage const& operator[](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. |