Changeset 1502 for code/trunk/src/orxonox/GraphicsEngine.h
- Timestamp:
- Jun 1, 2008, 3:54:20 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/GraphicsEngine.h
r1293 r1502 72 72 int getWindowWidth() const; 73 73 int getWindowHeight() const; 74 float getWindowAspectRatio() const; 75 float getAverageFPS() const 76 { if (renderWindow_) return this->renderWindow_->getAverageFPS(); else return 0.0f; } 74 77 75 78 void windowMoved (Ogre::RenderWindow* rw); … … 80 83 static GraphicsEngine& getSingleton(); 81 84 static GraphicsEngine* getSingletonPtr() { return &getSingleton(); } 85 86 //HACK!!! 87 //void static CompositorBloomOn(); 88 //void static CompositorBloomOff(); 89 //void static CompositorMotionBlurOn(); 90 //void static CompositorMotionBlurOff(); 91 82 92 83 93 private:
Note: See TracChangeset
for help on using the changeset viewer.