fg_setalpha() (legacy function)

Win32 DirectX Fastgraph/Light

Prototype

void fg_setalpha (int alpha);

Sub fg_setalpha (ByVal alpha As Long)

procedure fg_setalpha (alpha : integer);

Description

The fg_setalpha() legacy function defines the alpha channel value that fg_setdacs() and fg_setrgb() use when updating a 32-bit true color virtual palette. The default alpha channel value is zero.

Parameters

alpha is the alpha channel value. Its value must be between 0 and 255.

Return value

none

Restrictions

The alpha channel is meaningful only with a 32-bit true color virtual palette.

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.