shengine pre-release
shengine by mrsinho
|
Functions | |
uint64_t | shApplicationRun (void *p_engine, ShApplicationFunc *p_func) |
Runs a shared application. | |
uint8_t | shGetSharedApplication (const char *shared_name, const char *s_start, const char *s_update, const char *s_main_cmd_buffer, const char *s_main_renderpass, const char *s_frame_resize, const char *s_close, ShApplicationHost *p_application) |
Retrieves the shared application information. | |
uint64_t shApplicationRun | ( | void * | p_engine, |
ShApplicationFunc * | p_func | ||
) |
Runs a shared application.
This function runs the shared application by executing the provided application function.
p_engine | A pointer to the engine data. |
p_func | The application function to run. |
uint8_t shGetSharedApplication | ( | const char * | shared_name, |
const char * | s_start, | ||
const char * | s_update, | ||
const char * | s_main_cmd_buffer, | ||
const char * | s_main_renderpass, | ||
const char * | s_frame_resize, | ||
const char * | s_close, | ||
ShApplicationHost * | p_application | ||
) |
Retrieves the shared application information.
This function retrieves information about the shared application from the shared library.
shared_name | The name of the shared library. |
s_start | The symbol name for the start function. |
s_update | The symbol name for the update function. |
s_main_cmd_buffer | The symbol name for the main command buffer function. |
s_main_renderpass | The symbol name for the main render pass function. |
s_frame_resize | The symbol name for the frame resize function. |
s_close | The symbol name for the close function. |
p_application | A pointer to the application host structure to fill. |