Documentation Architecture         The architecture of Ogre illustrated by class and collaboration diagrams
Print

 

High level overview

Class diagram showing Root and Manager classes

The class diagram shows the Root class of OGRE and all of the Manager classes that gives access to the different subsystems.

  • The Root holds a reference to the current SceneManager and to an enumerator that allows other types of scene graphs to be loaded.

 

  • The RenderSystem is an abstract class that separates the Root from the specific implemention of the RenderSystem, OpenGL or Direct3D.

 

  • The ResourceManager is an abstract class that is subclassed by a number of managers that handles resources such as textures, materials and fonts.

 

  • All of the classes in the diagram except for RenderSystem, SceneManager and RenderWindow are using a singleton template to ensure that there is only one instance of each class.

 

The render cycle

Sequence diagram showing the rendering of one frame



Contributors to this page: jacmoe180265 points  and OgreWikiBot54 points  .
Page last modified on Monday 04 of January, 2010 17:55:54 UTC by jacmoe180265 points .


The content on this page is licensed under the terms of the Creative Commons Attribution-ShareAlike License.
As an exception, any source code contributed within the content is released into the Public Domain.