Skip to content

LiteFX::Rendering::ISwapChain::swapBackBuffer

Swaps the front buffer with the next back buffer in order.

Synopsis

Declared in <litefx/rendering_api.hpp>

[[dllimport, nodiscard, dllexport]] virtual UInt32 swapBackBuffer() const = 0;

Return Value

A reference of the front buffer after the buffer swap.

Note

The return value should not be discarded.