IDirect3DRM::SetDefaultTextureColors

HRESULT SetDefaultTextureColors(DWORD dwColors);

Sets the default colors to be used for a Direct3DRMTexture object.

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

dwColors

Number of colors.

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