IDXGIOutput::SetGammaControl method

Sets the gamma controls.

Syntax

HRESULT SetGammaControl(
  const DXGI_GAMMA_CONTROL *pArray
);

Parameters

pArray

Type: const DXGI_GAMMA_CONTROL*

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

Note  Calling this method is only supported while in full-screen mode.
 

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

Requirements

   
Target Platform Windows
Header dxgi.h
Library DXGI.lib

See Also

IDXGIOutput