L3DT documentation
Large 3D terrain generator



Retrieve the size, in bytes, of each item in a buffer (as set in zbuffer_Init or zbuffer_InitByType). To retrieve the combined size of all items in a buffer, use zbuffer_MemSize.


Declaration Zeolite.h
Implementation Zeolite.cpp

Function prototype

long zbuffer_ItemSize(ZVAR hBuffer);


Name Type Comment
hBuffer ZVAR A handle to a buffer variable, the item size of which is to be retrieved.

Return value

Zero if the buffer is not initialised or an error occurred, and non-zero otherwise.



zeolite/functions/zbuffer_itemsize.txt · Last modified: 2017/08/31 07:24 (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