IDirect3DRM2::SetDefaultTextureShades

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

HRESULT SetDefaultTextureShades(
DWORD dwShades
);

Parameters

dwShades

Number of shades.

Return Values

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

Remarks

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