IDXGIOutput::GetGammaControl Method

Gets the gamma control settings.

Syntax

public:
HRESULT GetGammaControl(
         DXGI_GAMMA_CONTROL *pArray
)  

Parameters

pArray
Type: DXGI_GAMMA_CONTROL *

[out] An array of gamma control settings (see DXGI_GAMMA_CONTROL).

Return value

Type: HRESULT 

Returns one of the DXGI_ERROR values.

Remarks

Xbox note: This method can only be called when this output is owned by a device.

For info about using gamma correction, see Using gamma correction.

Requirements

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

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

See also

IDXGIOutput

IDXGIOutput Members