Skip to content

LiteFX::Rendering::Backends::VulkanDevice::makeFrameBuffer

Creates a new frame buffer instance.

Synopsis

Declared in <litefx/rendering.hpp>

[[dllimport, nodiscard]] SharedPtr<frame_buffer_type> 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.