fg_tmtransparency()

Win32 DirectX Fastgraph/Light

Prototype

void fg_tmtransparency (int state);

Sub fg_tmtransparency (ByVal state As Long)

procedure fg_tmtransparency (state : integer);

Description

The fg_tmtransparency() function defines the transparency state of zero-value pixels in texture maps.

Parameters

state defines the transparency state of zero-value pixels in texture maps. If state is zero, zero-value pixels will not be transparent (this is the default behavior). If state is any other value, zero-value pixels will be transparent.

Return value

none

Restrictions

none

See also

fg_3Dtexturemap(), fg_3Dtexturemapobject()

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.