Microsoft DirectX 8.0 (C++)

Using Gamma Controls

The IDirect3DDevice8::SetGammaRamp and IDirect3DDevice8::GetGammaRamp methods allow you to manipulate ramp levels that affect the red, green, and blue color components of pixels from the surface before they are sent to the digital-to-analog converter (DAC) for display.

In the following topics describe the general concept of ramp levels and provide information about working with those levels.