L3DT documentation
Large 3D terrain generator



Allocate memory in a buffer variable.


Declaration Zeolite.h
Implementation Zeolite.cpp

Function prototype

bool zbuffer_Init(ZVAR hBuf, long nItems, long ItemSize);


Name Type Comment
hBuf ZVAR A handle to the buffer variable to be initialised.
nItems long The number of items for which memory is to be allocated.
ItemSize long The size, in bytes, of the items in the buffer.

Return value

False if an error occurred, and true otherwise.


Memory is zeroed on initialisation

The memory in a buffer variable is initialised as zeroes by zbuffer_Init.

zeolite/functions/zbuffer_init.txt · Last modified: 2017/08/31 06:49 (external edit)
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki