#include <Inventor/misc/SoContextHandler.h>
Public Types | |
typedef void | ContextDestructionCB (uint32_t contextid, void *userdata) |
Static Public Member Functions | |
void | destructingContext (uint32_t contextid) |
void | addContextDestructionCallback (ContextDestructionCB *func, void *closure) |
void | removeContextDestructionCallback (ContextDestructionCB *func, void *closure) |
|
This method must be called by client code which destruct a context, to guarantee that there are no memory leaks upon context destruction (texture objects and display lists must be deleted). |