IDirect3DRMTexture2::SetShades
Sets the maximum number of shades to use for each color for the Direct3DRMTexture2 object when rendering. This method is required only in the ramp color model.
HRESULT SetShades(
DWORD ulShades
);
Parameters
ulShades
New number of shades. This value must be a power of 2. The default value is 16.
Return Values
Returns D3DRM_OK if successful, or an error otherwise. For a list of possible return codes, see Direct3D Retained-Mode Return Values.
See Also