![]() |
Number5
Visualisierung 2 Project - Florian Schober (0828151, f.schober@live.com), Andreas Walch (0926780, walch.andreas89@gmail.com)
|
#include <Scene.hpp>
Public Member Functions | |
Scenes (Application *app) | |
Scene * | get (string const &name) |
void | drawAll (DrawArgs &args) |
Private Types | |
typedef map< string, unique_ptr< Scene > > | mesh_map |
Private Attributes | |
mesh_map | m_scenes |
Application * | m_app |
Shader * | m_shader |
Scenes is a collection of Scene-objects. They can be accessed by name, where two scenes having the same name are guaranteed to be loaded only once.
Scenes | ( | Application * | app | ) |
void drawAll | ( | DrawArgs & | args | ) |
Scene * get | ( | string const & | name | ) |
|
private |
|
private |