IDirect3DRMTexture::SetDecalTransparency

Sets the transparency property of the decal.

HRESULT SetDecalTransparency(
BOOL bTransp
);

Parameters

bTransp

If this parameter is TRUE, the decal has a transparent color. If it is FALSE, it has an opaque color. The default value is FALSE.

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

IDirect3DRMTexture::GetDecalTransparency