IDirect3DRMDevice::GetShades

DWORD GetShades();

Retrieves the number of shades in a ramp of colors used for shading.

·Returns the number of shades.