void vdsWriteTree (FILE *f, vdsNode *root, vdsNodeDataWriter writedata)

Writes a vertex tree to a VDS binary file

Documentation

Writes a vertex tree to a VDS binary file. Writes a vertex tree to the specified file. The user may specify a vdsNodeDataWriter function writedata() if the vertex tree was written with custom data in the node->data field. If writedata() is NULL, the contents of the node->data field are simply copied byte-for-byte into the file.
Parameters:
f - The file to which the tree is written
root - The root of the vertex tree to be written.
writedata - A vdsNodeDataReader function callback to read the contents of the node->data field, or NULL to simply read node->data byte-for-byte.

alphabetic index hierarchy of classes