Skip to content

LiteFX::Rendering::Backends::DirectX12SwapChain::swapBackBuffer

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

Synopsis

Declared in <litefx/backends/dx12.hpp>

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

Return Value

A reference of the front buffer after the buffer swap.

Note

The return value should not be discarded.