IDirect3DRMTexture::SetDecalTransparentColor

HRESULT SetDecalTransparentColor(D3DCOLOR rcTransp);

Sets the transparent color for a decal.

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

rcTransp

New transparent color. The default transparent color is black.