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
Type: BOOLTrue if scaling and offset operations are supported during gamma correction; otherwise, false.
MaxConvertedValue
Type: floatA value describing the maximum range of the control-point positions.
MinConvertedValue
Type: floatA value describing the minimum range of the control-point positions.
NumGammaControlPoints
Type: UINTA value describing the number of control points in the array.
ControlPointPositions
Type: float[1025]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 |
DXGI.h |