SLProject  4.2.000
A platform independent 3D computer graphics framework for desktop OS, Android, iOS and online in web browsers
App::Config Struct Reference

App configuration struct to be passed to the App::run function. More...

#include <App.h>

Public Attributes

int argc = 0
 
char ** argv = nullptr
 
SLint windowWidth = 1280
 
SLint windowHeight = 720
 
SLstring windowTitle = "SLProject Application"
 
SLint numSamples = 4
 
SLSceneID startSceneID = SL_EMPTY_SCENE_ID
 
OnNewSceneViewCallback onNewSceneView = nullptr
 
OnNewSceneCallback onNewScene = nullptr
 
OnBeforeSceneDeleteCallback onBeforeSceneDelete = nullptr
 
OnBeforeSceneLoadCallback onBeforeSceneLoad = nullptr
 
OnBeforeSceneAssemblyCallback onBeforeSceneAssembly = nullptr
 
OnAfterSceneAssemblyCallback onAfterSceneAssembly = nullptr
 
OnUpdateCallback onUpdate = nullptr
 
OnGuiBuildCallback onGuiBuild = nullptr
 
OnGuiLoadConfigCallback onGuiLoadConfig = nullptr
 
OnGuiSaveConfigCallback onGuiSaveConfig = nullptr
 

Detailed Description

App configuration struct to be passed to the App::run function.

Definition at line 56 of file App.h.

Member Data Documentation

◆ argc

int App::Config::argc = 0

Definition at line 58 of file App.h.

◆ argv

char** App::Config::argv = nullptr

Definition at line 59 of file App.h.

◆ numSamples

SLint App::Config::numSamples = 4

Definition at line 63 of file App.h.

◆ onAfterSceneAssembly

OnAfterSceneAssemblyCallback App::Config::onAfterSceneAssembly = nullptr

Definition at line 70 of file App.h.

◆ onBeforeSceneAssembly

OnBeforeSceneAssemblyCallback App::Config::onBeforeSceneAssembly = nullptr

Definition at line 69 of file App.h.

◆ onBeforeSceneDelete

OnBeforeSceneDeleteCallback App::Config::onBeforeSceneDelete = nullptr

Definition at line 67 of file App.h.

◆ onBeforeSceneLoad

OnBeforeSceneLoadCallback App::Config::onBeforeSceneLoad = nullptr

Definition at line 68 of file App.h.

◆ onGuiBuild

OnGuiBuildCallback App::Config::onGuiBuild = nullptr

Definition at line 72 of file App.h.

◆ onGuiLoadConfig

OnGuiLoadConfigCallback App::Config::onGuiLoadConfig = nullptr

Definition at line 73 of file App.h.

◆ onGuiSaveConfig

OnGuiSaveConfigCallback App::Config::onGuiSaveConfig = nullptr

Definition at line 74 of file App.h.

◆ onNewScene

OnNewSceneCallback App::Config::onNewScene = nullptr

Definition at line 66 of file App.h.

◆ onNewSceneView

OnNewSceneViewCallback App::Config::onNewSceneView = nullptr

Definition at line 65 of file App.h.

◆ onUpdate

OnUpdateCallback App::Config::onUpdate = nullptr

Definition at line 71 of file App.h.

◆ startSceneID

SLSceneID App::Config::startSceneID = SL_EMPTY_SCENE_ID

Definition at line 64 of file App.h.

◆ windowHeight

SLint App::Config::windowHeight = 720

Definition at line 61 of file App.h.

◆ windowTitle

SLstring App::Config::windowTitle = "SLProject Application"

Definition at line 62 of file App.h.

◆ windowWidth

SLint App::Config::windowWidth = 1280

Definition at line 60 of file App.h.


The documentation for this struct was generated from the following file: