Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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_RGB

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

Offset

Type: DXGI_RGB

A 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

See also

DXGI Structures

 

 

Show:
© 2017 Microsoft