IDXGISwapChain1::GetBackgroundColor Method

Gets the background color.

Syntax

public:
HRESULT GetBackgroundColor(
         DXGI_RGBA *pColor
)  

Parameters

pColor
Type: DXGI_RGBA *

[out] The background color, as a pointer to DXGI_RGBA.

Return value

Type: HRESULT 

Returns one of the following DXGI_ERROR.

Requirements

Header: Declared in d3d11_x.h (dxgi1_2.h on other Windows platforms).

Library: Use d3d11_x.lib (dxgi.lib on other Windows platforms).

See also

IDXGISwapChain1

IDXGISwapChain1 Members