IDXGISwapChain3::GetCurrentBackBufferIndex method

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

Syntax

UINT GetCurrentBackBufferIndex(

);

Parameters

This method has no parameters.

Return Value

Type: UINT

Returns the index of the current back buffer.

Requirements

   
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