Skip to content

LiteFX::Rendering::ISwapChain::image

image overloads

Synopses

Declared in <litefx/rendering_api.hpp>

Returns the current swap chain back buffer image.

[[dllimport, dllexport]] virtual IImage const& image() const noexcept = 0;

» more...

Returns the swap chain present image for backBuffer.

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

» more...

Return Value

  • A reference of the current swap chain back buffer image.
  • 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.