IDirect3DRMTexture::SetColors

HRESULT SetColors(DWORD ulColors);

Sets the maximum number of colors used for rendering a texture. This method is required only in the ramp color model.

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

ulColors

Number of colors. The default value is 8.