Crazy Eddie's GUI System  0.8.4
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:

List of all members.

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.
bool isImageryCache () const
 Return whether the RenderTarget is an implementation that caches actual rendered imagery.

Detailed Description

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


Constructor & Destructor Documentation

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.

Member Function Documentation

Return whether the RenderTarget is an implementation that caches actual rendered imagery.

Typically it is expected that texture based RenderTargets would return true in response to this call. Other types of RenderTarget, like view port based targets, will more likely return false.

Returns:

Implements CEGUI::RenderTarget.

 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends