vdsNode* vdsEndGeometry ()

When all geometry has been added, prepares VDSlib for node clustering

Documentation

When all geometry has been added, prepares VDSlib for node clustering. When all geometry (tris & verts) has been added, this function prepares the builder for the next phase (merging nodes into a tree). Must be called after vdsBeginGeometry(), after all vdsAddNode() and vdsAddTri() calls, and before any vdsClusterNodes() calls.
Returns:
A pointer to an array containing all leaf nodes, in case the application wants to use this information during clustering. Leaf nodes in the array are in the order they were given.

alphabetic index hierarchy of classes