IDXGISwapChain3::GetCurrentBackBufferIndex method (dxgi1_4.h)

Gets the index of the swap chain's current back buffer.

Syntax

UINT GetCurrentBackBufferIndex();

Return value

Type: UINT

Returns the index of the current back buffer.

Requirements

Requirement Value
Minimum supported client Windows 10 [desktop apps only]
Minimum supported server Windows Server 2016 [desktop apps only]
Target Platform Windows
Header dxgi1_4.h
Library Dxgi.lib

See also

IDXGISwapChain3