SLProject
4.2.000
A platform independent 3D computer graphics framework for desktop OS, Android, iOS and online in web browsers
|
The App namespace declares the App::Config struct and the App::run function. More...
Go to the source code of this file.
Classes | |
struct | App::Config |
App configuration struct to be passed to the App::run function. More... | |
Namespaces | |
App | |
The App namespace declares the App::Config struct and the App::run function. | |
Macros | |
#define | SL_MAIN_FUNCTION main |
Typedefs | |
typedef SLSceneView *(* | App::OnNewSceneViewCallback) (SLScene *scene, int curDPI, SLInputManager &inputManager) |
typedef SLScene *(* | App::OnNewSceneCallback) (SLSceneID sceneID) |
typedef void(* | App::OnBeforeSceneDeleteCallback) (SLSceneView *sv, SLScene *s) |
typedef void(* | App::OnBeforeSceneLoadCallback) (SLSceneView *sv, SLScene *s) |
typedef void(* | App::OnBeforeSceneAssemblyCallback) (SLSceneView *sv, SLScene *s) |
typedef void(* | App::OnAfterSceneAssemblyCallback) (SLSceneView *sv, SLScene *s) |
typedef bool(* | App::OnUpdateCallback) (SLSceneView *sv) |
typedef void(* | App::OnGuiBuildCallback) (SLScene *s, SLSceneView *sv) |
typedef void(* | App::OnGuiLoadConfigCallback) (SLint dotsPerInch) |
typedef void(* | App::OnGuiSaveConfigCallback) () |
Functions | |
int | App::run (Config config) |
App::run implementation from App.h for the Emscripten platform. More... | |
Variables | |
Config | App::config |
The configuration set in App::run. More... | |
The App namespace declares the App::Config struct and the App::run function.
An App::Config can be passed to the run function defined Beside this is contains the callback functions typedefs. For more info on how to create a new app with SLProject see: https://github.com/cpvrlab/SLProject4/wiki/Creating-a-New-App For more info about App framework see: https://cpvrlab.github.io/SLProject4/app-framework.html
Definition in file App.h.