fg_zballoc()Win32 DirectX Fastgraph/Light Prototype int fg_zballoc (int width, int height); Function fg_zballoc (ByVal width As Long, ByVal height As Long) As Long function fg_zballoc (width, height : integer) : integer; Description The fg_zballoc() function creates a z-buffer of the specified size. The memory for the z-buffer is allocated automatically. Parameters width is the z-buffer width in pixels. height is the z-buffer height in pixels. Return value If successful, fg_zballoc() returns a handle by which the z-buffer is referenced. If there is not enough free memory to create the z-buffer, fg_zballoc() returns zero. Restrictions none See also fg_ddsetup(), fg_zbframe(), fg_zbfree(), fg_zbopen() Examples Columns, Geometry, TMcube, TMcubeX
|
 
copyright 2001 Ted Gruber Software, Inc.