gr_application_debug

#include <gre/gre.h>                
int gr_application_debug(
  gr_application_t *handle, 
  unsigned command,
  ...
);

            

The gr_application_debug function provides an interface to some of the debugging and introspection facilities of the Storyboard Engine.


Parameters:

        handle A pointer to an application handle created using gr_application_create_args.  Not all 
                  commands will require an application handle.
        command A GR_DEBUG_* command code.

Returns:

        Various values based on the command as listed in the header file <gre/gre.h>
        

The gr_application_debug is most frequently used to control the verbosity level of the application using the GR_DEBUG_CMD_VERBOSITY command and it can also be used to dump out the system configuration details when used with the GR_DEBUG_CMD_SYSTEM_INFO.