Partager via


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: BOOL

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

  • MaxConvertedValue
    Type: float

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

  • MinConvertedValue
    Type: float

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

  • NumGammaControlPoints
    Type: UINT

    A 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

See also

DXGI Structures