Function BlamRendering::DirectX::GetDXGISwapChain

Function Documentation

IDXGISwapChain *BlamRendering::DirectX::GetDXGISwapChain()

Retrieves the current DXGI Swap Chain.

The swap chain contains two buffers, that alternate back and forth between being written to and being presented onscreen. While one buffer is being displayed, the other is written to. When the buffer being written is finished being modified, it is displayed - and the other buffer starts being written to.

Return

A pointer to the DXGI Swap Chain.