1 #ifndef UGDK_GRAPHIC_VIDEOMANAGER_H_
2 #define UGDK_GRAPHIC_VIDEOMANAGER_H_
18 #define VIDEO_MANAGER() (ugdk::Engine::reference()->video_manager())
27 VideoManager() : settings_(false, false, false), light_buffer_(NULL), light_texture_(NULL) {}
32 void Render(
const std::list<action::Scene*>&);
42 const std::string&
title()
const {
return title_; }
54 Frame virtual_bounds_;
62 Settings(
bool fs,
bool vs,
bool light) :
fullscreen(fs), vsync(vs), light_system(light) {}
65 std::stack<Modifier> modifiers_;
67 Texture* light_buffer_;
68 Texture* light_texture_;
70 void InitializeLight();
72 void mergeLights(
const std::list<action::Scene*>& scene_list);
73 void BlendLightIntoBuffer();
75 void ClearModiferStack();