Skip to content

LiteFX::Rendering::Backends::VulkanFrameBuffer::addImage

Adds an image to the frame buffer.

Synopsis

Declared in <litefx/backends/vulkan.hpp>

[[dllimport, dllexport]] virtual void addImage(
    String const& name,
    Format format,
    MultiSamplingLevel samples = MultiSamplingLevel::x1,
    ResourceUsage usage = ResourceUsage::FrameBufferImage) override;

Parameters

NameDescription
nameThe name of the image.
formatThe format of the image.
samplesThe number of samples of the image.
usageThe desired resource usage flags for the image.