IDXGIOutput::SetGammaControl Method

Sets the gamma controls.

Syntax

public:
HRESULT SetGammaControl(
         const DXGI_GAMMA_CONTROL *pArray
)  

Parameters

pArray
Type: DXGI_GAMMA_CONTROL *

[in] A pointer to a DXGI_GAMMA_CONTROL structure that describes the gamma curve to set.

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