DXGI_GAMMA_CONTROL Structure

Controls the settings of a gamma curve.

Syntax

typedef struct DXGI_GAMMA_CONTROL {
    DXGI_RGB Scale;
    DXGI_RGB Offset;
    DXGI_RGB GammaCurve[1025];
} DXGI_GAMMA_CONTROL;  

Members

Scale
A DXGI_RGB structure with scalar values that are applied to rgb values before being sent to the gamma look up table.

Offset
A DXGI_RGB structure with offset values that are applied to the rgb values before being sent to the gamma look up table.

GammaCurve
An array of DXGI_RGB structures that control the points of a gamma curve.

Remarks

This structure is passed to IDXGIOutput::SetGammaControl, and is returned by IDXGIOutput::GetGammaControl

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

Requirements

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