IDirect3DRM::SetDefaultTextureShades

HRESULT SetDefaultTextureShades(DWORD dwShades);

Sets the default shades to be used for an Direct3DRMTexture object.

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

dwShades

Number of shades.

This method affects the texture shades only when it is called before the IDirect3DRM::CreateTexture method; it has no effect on textures that have already been created.