gr_application_create

#include <gre/gre.h>                
gr_application_t * gr_application_create(
  const char *bundle
);

            

The gr_application_create function creates the application handle for the Storyboard Engine. The application handle can be used to further configure the engine or to start it's execution.


Parameters:

        bundle       A pointer to the model data.  This must be a filename.

Returns:

        An application handle on success or NULL on failure.  On platforms where errno is available, it will contain 
        failure details.
        

The gr_application_create will load a model, initialize the engine's plugin subsystem and then return an application handle. Once the model is loaded and plugins initialized control returns to the caller.