Skip to content

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

Creates a new frame buffer instance.

Synopsis

Declared in <litefx/backends/vulkan.hpp>

[[dllimport, nodiscard, dllexport]] virtual SharedPtr<VulkanFrameBuffer> makeFrameBuffer(
    StringView name,
    Size2d const& renderArea,
    FrameBuffer<IVulkanImage>::allocation_callback_type allocationCallback) const override;

Return Value

The instance of the frame buffer.

Note

The return value should not be discarded.

Parameters

NameDescription
allocationCallbackA callback that gets invoked, when the frame buffer allocates a new image.
nameThe name of the frame buffer.
renderAreaThe initial render area of the frame buffer.