Skip to content

LiteFX::Rendering::IGraphicsDevice::makeFrameBuffer

Creates a new frame buffer instance.

Synopsis

Declared in <litefx/rendering_api.hpp>

[[dllimport, nodiscard, dllexport]] SharedPtr<IFrameBuffer> makeFrameBuffer(
    StringView name,
    Size2d const& renderArea) const;

Return Value

The instance of the frame buffer.

Note

The return value should not be discarded.

Parameters

NameDescription
nameThe name of the frame buffer.
renderAreaThe initial render area of the frame buffer.