DXGI_GAMMA_CONTROL_CAPABILITIES Structure

Controls the gamma capabilities of an adapter.

Syntax

typedef struct DXGI_GAMMA_CONTROL_CAPABILITIES {
    BOOL ScaleAndOffsetSupported;
    float MaxConvertedValue;
    float MinConvertedValue;
    UINT NumGammaControlPoints;
    float ControlPointPositions[1025];
} DXGI_GAMMA_CONTROL_CAPABILITIES;  

Members

ScaleAndOffsetSupported
True if scaling and offset operations are supported during gamma correction; otherwise, false.

MaxConvertedValue
A value describing the maximum range of the control-point positions.

MinConvertedValue
A value describing the minimum range of the control-point positions.

NumGammaControlPoints
A value describing the number of control points in the array.

ControlPointPositions
An array of values describing control points; the maximum length of control points is 1025.

Remarks

To get a list of the capabilities for controlling gamma correction, call IDXGIOutput::GetGammaControlCapabilities.

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

Requirements

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