fg_tcmask() (legacy function)

Win32 DirectX Fastgraph/Light

Prototype

void fg_tcmask (int mask);

Sub fg_tcmask (ByVal mask As Long)

procedure fg_tcmask (mask : integer);

Description

The fg_tcmask() legacy function defines which of the first 16 color values fg_tcxfer() and fg_vbtccopy() will consider transparent. You must use fg_tcdefine() to control the transparency of colors 17 to 255.

Parameters

mask is a 16-bit mask, where each bit indicates whether or not the corresponding color value is transparent. For example, if bit 0 (the rightmost bit) is 1, then color 0 will be transparent. If bit 0 is 0, color 0 will not be transparent.

Return value

none

Restrictions

none

Replaced by

fg_tcdefine()

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.