fg_zbopen()

Win32 DirectX Fastgraph/Light

Prototype

void fg_zbopen (int handle);

Sub fg_zbopen (ByVal handle As Long)

procedure fg_zbopen (handle : integer);

Description

The fg_zbopen() function makes an existing z-buffer the active z-buffer. If another z-buffer is open when you call fg_zbopen(), that z-buffer is first closed.

Parameters

handle is the handle that references the desired z-buffer, as returned by fg_zballoc(). It must be a valid z-buffer handle.

Return value

none

Restrictions

The active z-buffer must be at least as large as the active virtual buffer.

See also

fg_zballoc(), fg_zbframe(), fg_zbfree()

Examples

Columns, Geometry, TMcube, TMcubeX

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.