27 #ifndef _CEGUIOpenGLRenderTarget_h_
28 #define _CEGUIOpenGLRenderTarget_h_
30 #include "CEGUI/RendererModules/OpenGL/RendererBase.h"
31 #include "../../RenderTarget.h"
32 #include "../../Rect.h"
35 # pragma warning(push)
36 # pragma warning(disable : 4251)
45 template <
typename T = RenderTarget>
56 void setArea(
const Rectf& area);
57 const Rectf& getArea()
const;
65 virtual void updateMatrix()
const;
Intermediate OpenGL implementation of a RenderTarget.
Definition: RendererModules/OpenGL/RenderTarget.h:46
Main namespace for Crazy Eddie's GUI Library.
Definition: arch_overview.dox:1
Rectf d_area
holds defined area for the RenderTarget
Definition: RendererModules/OpenGL/RenderTarget.h:70
Abstract class defining the interface for objects that buffer geometry for later rendering.
Definition: GeometryBuffer.h:42
bool d_matrixValid
true if saved matrix is up to date
Definition: RendererModules/OpenGL/RenderTarget.h:76
mat4Pimpl * d_matrix
saved copy of projection matrix
Definition: RendererModules/OpenGL/RenderTarget.h:74
double d_viewDistance
tracks viewing distance (this is set up at the same time as d_matrix)
Definition: RendererModules/OpenGL/RenderTarget.h:78
OpenGLRendererBase & d_owner
OpenGLRendererBase that created this object.
Definition: RendererModules/OpenGL/RenderTarget.h:68
static const double d_yfov_tan
tangent of the y FOV half-angle; used to calculate viewing distance.
Definition: RendererModules/OpenGL/RenderTarget.h:72
Common base class used for other OpenGL (desktop or ES) based renderer modules.
Definition: RendererBase.h:53
Class that represents a queue of GeometryBuffer objects to be rendered.
Definition: RenderQueue.h:52
Definition: GlmPimpl.h:36