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(Size2d const& renderArea) const;

Return Value

The instance of the frame buffer.

Note

The return value should not be discarded.

Parameters

NameDescription
renderAreaThe initial render area of the frame buffer.