fg_opacity()

Win32 DirectX Fastgraph/Light

Prototype

void fg_opacity (int opacity);

Sub fg_opacity (ByVal opacity As Long)

procedure fg_opacity (opacity : integer);

Description

The fg_opacity() function defines the foreground opacity value used by the alpha blending functions.

Parameters

opacity is the opacity value. It must be between 0 (foreground is transparent) and 255 (foreground is completely opaque).

Return value

none

Restrictions

none

See also

fg_blend(), fg_blenddcb(), fg_blendvb()

Examples

Blend

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.