Skip to main content
Version: 9.0.3

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.

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.

Parameters​

ParameterTypeDescription
bundleA pointer to the model
data. This must be a filename.

Returns​

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