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
Type: DXGI_RGBA DXGI_RGB structure with scalar values that are applied to rgb values before being sent to the gamma look up table.
Offset
Type: DXGI_RGBA DXGI_RGB structure with offset values that are applied to the rgb values before being sent to the gamma look up table.
GammaCurve
Type: DXGI_RGB[1025]An array of DXGI_RGB structures that control the points of a gamma curve.
Remarks
The DXGI_GAMMA_CONTROL structure is used by the IDXGIOutput::SetGammaControl method.
For info about using gamma correction, see Using gamma correction.
Requirements
Header |
DXGI.h |