L3DT documentation
Large 3D terrain generator



Determine the total number of bytes allocated in the buffer.


Declaration Zeolite.h
Implementation Zeolite.cpp

Function prototype

long zbuffer_MemSize(ZVAR hBuffer);


Name Type Comment
hBuffer ZVAR A handle to a buffer variable, from which the total memory allocation (in bytes) is to be determined.

Return value

A positive integer representing the total number of bytes allocated in the buffer, or zero if the buffer is uninitialised or an error occurred.


This function is equivalent to the product of the outputs from zbuffer_nItems and zbuffer_ItemSize.

zeolite/functions/zbuffer_memsize.txt · Last modified: 2017/08/31 04:16 (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