tvPostDrawCallback tvSetPostDrawCallback ( tvBase *threeD, tvPostDrawCallback callback, void *closure )

Registers a callback function that is called during the redraw process, after all of the tiles and models have been drawn

Documentation

Registers a callback function that is called during the redraw process, after all of the tiles and models have been drawn. This lets users plug in there own rendering overlays to the TerraVision display. Your callback function will look something like:
void
myDrawCallback( tvBase *threeD, void *closure )
{
... do your work here ...
}
Returns:
the previous callback function (or NULL if none registered)
Parameters:
threeD - The tvBase structure for the window you wish to add the callback routine to.
callback - You custom callback function. Set this to NULL to deregister a previous callback.
closure - A pointer that will be passed back to your callback function (may be NULL).
Author:
Martin Reddy


Back to
TerraVision API Home Page