28 #ifndef _CEGUIOgreRenderTarget_h_
29 #define _CEGUIOgreRenderTarget_h_
31 #include "../../CEGUIRenderTarget.h"
32 #include "CEGUIOgreRenderer.h"
33 #include "../../CEGUIRect.h"
34 #include <OgreMatrix4.h>
62 void setOgreViewportDimensions(
const Rect& area);
67 void setArea(
const Rect& area);
68 const Rect& getArea()
const;
76 void updateMatrix()
const;
78 void updateViewport();
80 void updateOgreViewportDimensions(
const Ogre::RenderTarget*
const rt);
106 #endif // end of guard _CEGUIOgreRenderTarget_h_
OgreRenderer & d_owner
OgreRenderer object that owns this RenderTarget.
Definition: CEGUIOgreRenderTarget.h:83
Class used as a two dimensional vector (aka a Point)
Definition: CEGUIVector.h:45
CEGUI::Renderer implementation for the Ogre engine.
Definition: CEGUIOgreRenderer.h:72
Rect d_area
holds defined area for the RenderTarget
Definition: CEGUIOgreRenderTarget.h:87
Ogre::Viewport * d_viewport
Ogre viewport used for this target.
Definition: CEGUIOgreRenderTarget.h:91
Ogre::Matrix4 d_matrix
projection / view matrix cache
Definition: CEGUIOgreRenderTarget.h:93
Abstract class defining the interface for objects that buffer geometry for later rendering.
Definition: CEGUIGeometryBuffer.h:42
bool d_matrixValid
true when d_matrix is valid and up to date
Definition: CEGUIOgreRenderTarget.h:95
float d_viewDistance
tracks viewing distance (this is set up at the same time as d_matrix)
Definition: CEGUIOgreRenderTarget.h:97
bool d_viewportValid
true when d_viewport is up to date and valid.
Definition: CEGUIOgreRenderTarget.h:99
Defines interface to some surface that can be rendered to. Concrete instances of objects that impleme...
Definition: CEGUIRenderTarget.h:42
Rect d_ogreViewportDimensions
holds set Ogre viewport dimensions
Definition: CEGUIOgreRenderTarget.h:101
Class that represents a queue of GeometryBuffer objects to be rendered.
Definition: CEGUIRenderQueue.h:53
Intermediate RenderTarget implementing common parts for Ogre engine.
Definition: CEGUIOgreRenderTarget.h:40
Ogre::RenderSystem & d_renderSystem
Ogre RendererSystem used to affect the rendering process.
Definition: CEGUIOgreRenderTarget.h:85
Ogre::RenderTarget * d_renderTarget
Ogre render target that we are effectively wrapping.
Definition: CEGUIOgreRenderTarget.h:89
Class encapsulating operations on a Rectangle.
Definition: CEGUIRect.h:44