13 #ifndef APPDEMOSCENEJANSUNIVERSE_H 
   14 #define APPDEMOSCENEJANSUNIVERSE_H 
vector< SLMaterial * > SLVMaterial
STL vector of material pointers.
 
vector< SLMesh * > SLVMesh
 
Class for the benchmark scene for Jans Universe.
 
AppDemoSceneJansUniverse()
 
void assemble(SLAssetManager *am, SLSceneView *sv) override
After parallel loading of the assets the scene gets assembled in here.
 
void generateUniverse(SLAssetManager *am, SLScene *s, SLNode *parent, SLint parentID, SLuint levels, SLuint childCount, SLVMaterial &materials, SLVMesh &meshes)
Generates the Jan's Universe scene.
 
void registerAssetsToLoad(SLAssetLoader &al) override
All scene specific assets have to be registered for async loading in here.
 
void addUniverseLevel(SLAssetManager *am, SLScene *s, SLNode *parent, SLint parentID, SLuint currentLevel, SLuint levels, SLuint childCount, SLVMaterial &materials, SLVMesh &meshes, SLuint &numNodes)
Adds another level to Jan's Universe scene.
 
Toplevel holder of the assets meshes, materials, textures and shaders.
 
Texture object for OpenGL texturing.
 
SLNode represents a node in a hierarchical scene graph.
 
The SLScene class represents the top level instance holding the scene structure.
 
SceneView class represents a dynamic real time 3D view onto the scene.