IDirect3DRMDevice::SetShades

HRESULT SetShades(DWORD ulShades);

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

·Returns D3DRM_OK if successful, or an error otherwise. For a list of possible return codes, see Direct3D Retained-Mode Return Values.

ulShades

New number of shades. This parameter must be a power of 2. The default is 32.