Skip to content

LiteFX::Rendering::ISwapChain::image

Returns the swap chain present image for backBuffer.

Synopsis

Declared in <litefx/rendering_api.hpp>

[[dllimport, dllexport]] virtual IImage* image(UInt32 backBuffer) const = 0;

Return Value

A pointer to the back buffers swap chain present image.

Parameters

NameDescription
backBufferThe index of the back buffer for which to return the swap chain present image.