fg_tmfree()

Win32 DirectX Fastgraph/Light

Prototype

void fg_tmfree (int handle);

Sub fg_tmfree (ByVal handle As Long)

procedure fg_tmfree (handle : integer);

Description

The fg_tmfree() function releases a texture handle, and if using Direct3D, releases the DirectDraw surface associated with the texture map.

Parameters

handle is the texture handle to release. If handle is negative, fg_tmfree() will release all texture handles.

Return value

none

Restrictions

none

See also

fg_3Dtexturemap(), fg_3Dtexturemapobject(), fg_tmdefine(), fg_tminit(), fg_tmselect()

Examples

TMcube, TMcubeX

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.