finalize_callback

The callback that is fired once the execution loop is exited, but before glview is destroyed.

Synopsis:

#include <glview/glview.h>
 
typedef void(* finalize_callback)(void *callback_data);

Library:

libglview

Description:

The finalize_callback function is invoked within the glview_loop() function after the application is given an exit event but before the graphic stack is destroyed. Once the finalize_callback function returns, the graphic stack will be taken down and glview will be destroyed.