Crazy Eddie's GUI System  0.8.4
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
CEGUI::OpenGLViewportTarget Class Reference

OpenGL implementation of a RenderTarget that represents am on-scren viewport. More...

+ Inheritance diagram for CEGUI::OpenGLViewportTarget:
+ Collaboration diagram for CEGUI::OpenGLViewportTarget:

Public Member Functions

 OpenGLViewportTarget (OpenGLRendererBase &owner)
 Construct a default OpenGLViewportTarget that uses the currently defined OpenGL viewport as it's initial area.
 
 OpenGLViewportTarget (OpenGLRendererBase &owner, const Rectf &area)
 Construct a OpenGLViewportTarget that uses the specified Rect as it's initial area. More...
 
bool isImageryCache () const
 
- Public Member Functions inherited from CEGUI::OpenGLRenderTarget<>
 OpenGLRenderTarget (OpenGLRendererBase &owner)
 Constructor.
 
void draw (const GeometryBuffer &buffer)
 
void draw (const RenderQueue &queue)
 
void setArea (const Rectf &area)
 
const RectfgetArea () const
 
void activate ()
 
void deactivate ()
 
void unprojectPoint (const GeometryBuffer &buff, const Vector2f &p_in, Vector2f &p_out) const
 

Additional Inherited Members

- Protected Member Functions inherited from CEGUI::OpenGLRenderTarget<>
virtual void updateMatrix () const
 helper that initialises the cached matrix
 
- Protected Attributes inherited from CEGUI::OpenGLRenderTarget<>
OpenGLRendererBased_owner
 OpenGLRendererBase that created this object.
 
Rectf d_area
 holds defined area for the RenderTarget
 
mat4Pimpld_matrix
 saved copy of projection matrix
 
bool d_matrixValid
 true if saved matrix is up to date
 
double d_viewDistance
 tracks viewing distance (this is set up at the same time as d_matrix)
 
- Static Protected Attributes inherited from CEGUI::OpenGLRenderTarget<>
static const double d_yfov_tan
 tangent of the y FOV half-angle; used to calculate viewing distance.
 

Detailed Description

OpenGL implementation of a RenderTarget that represents am on-scren viewport.

Constructor & Destructor Documentation

CEGUI::OpenGLViewportTarget::OpenGLViewportTarget ( OpenGLRendererBase owner,
const Rectf area 
)

Construct a OpenGLViewportTarget that uses the specified Rect as it's initial area.

Parameters
areaRect object describing the initial viewport area that should be used for the RenderTarget.