13 #ifndef APPDEMOSCENERTSPHERES_H
14 #define APPDEMOSCENERTSPHERES_H
float SLfloat
analog to GLfloat
unsigned int SLuint
analog to GLuint
int SLSceneID
Scene identifier.
SLScene SLSceneView SLint sceneID
Class for the ray tracing scene with sphere group.
void assemble(SLAssetManager *am, SLSceneView *sv) override
After parallel loading of the assets the scene gets assembled in here.
AppDemoSceneRTSpheres(SLSceneID sceneID)
SLNode * SphereGroupRT(SLAssetManager *am, SLint depth, SLfloat x, SLfloat y, SLfloat z, SLfloat scale, SLuint resolution, SLMaterial *matGlass, SLMaterial *matRed)
Creates a recursive sphere group used for the ray tracing scenes.
void registerAssetsToLoad(SLAssetLoader &al) override
All assets the should be loaded in parallel must be registered in here.
Toplevel holder of the assets meshes, materials, textures and shaders.
Defines a standard CG material with textures and a shader program.
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.