27 #ifndef _CEGUIOgreRenderTarget_h_
28 #define _CEGUIOgreRenderTarget_h_
30 #include "../../RenderTarget.h"
31 #include "CEGUI/RendererModules/Ogre/Renderer.h"
32 #include "../../Rect.h"
33 #include <OgreMatrix4.h>
39 template <
typename T = RenderTarget>
49 #if !defined(CEGUI_USE_OGRE_COMPOSITOR2)
63 void setOgreViewportDimensions(
const Rectf& area);
69 void setArea(
const Rectf& area);
70 const Rectf& getArea()
const;
78 void updateMatrix()
const;
80 void updateViewport();
81 #if !defined(CEGUI_USE_OGRE_COMPOSITOR2)
82 void updateOgreViewportDimensions(
const Ogre::RenderTarget*
const rt);
94 #ifdef CEGUI_USE_OGRE_COMPOSITOR2
97 bool d_renderTargetUpdated;
100 Ogre::Viewport* d_viewport;
102 #endif // CEGUI_USE_OGRE_COMPOSITOR2
114 #if !defined(CEGUI_USE_OGRE_COMPOSITOR2)
115 Rectf d_ogreViewportDimensions;
122 #endif // end of guard _CEGUIOgreRenderTarget_h_
CEGUI::Renderer implementation for the Ogre engine.
Definition: RendererModules/Ogre/Renderer.h:91
Main namespace for Crazy Eddie's GUI Library.
Definition: arch_overview.dox:1
Ogre::RenderSystem & d_renderSystem
Ogre RendererSystem used to affect the rendering process.
Definition: RendererModules/Ogre/RenderTarget.h:89
Abstract class defining the interface for objects that buffer geometry for later rendering.
Definition: GeometryBuffer.h:42
float d_viewDistance
tracks viewing distance (this is set up at the same time as d_matrix)
Definition: RendererModules/Ogre/RenderTarget.h:109
Ogre::Matrix4 d_matrix
projection / view matrix cache
Definition: RendererModules/Ogre/RenderTarget.h:105
OgreRenderer & d_owner
OgreRenderer object that owns this RenderTarget.
Definition: RendererModules/Ogre/RenderTarget.h:87
bool d_matrixValid
true when d_matrix is valid and up to date
Definition: RendererModules/Ogre/RenderTarget.h:107
Rectf d_area
holds defined area for the RenderTarget
Definition: RendererModules/Ogre/RenderTarget.h:91
bool d_viewportValid
Definition: RendererModules/Ogre/RenderTarget.h:113
Ogre::RenderTarget * d_renderTarget
Ogre render target that we are effectively wrapping.
Definition: RendererModules/Ogre/RenderTarget.h:93
Class that represents a queue of GeometryBuffer objects to be rendered.
Definition: RenderQueue.h:52
Intermediate RenderTarget implementing common parts for Ogre engine.
Definition: RendererModules/Ogre/RenderTarget.h:40