Crazy Eddie's GUI System  ${CEGUI_VERSION}
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
CEGUI::OpenGLESViewportTarget Class Reference

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

+ Inheritance diagram for CEGUI::OpenGLESViewportTarget:
+ Collaboration diagram for CEGUI::OpenGLESViewportTarget:

Public Member Functions

 OpenGLESViewportTarget (OpenGLESRenderer &owner)
 Construct a default OpenGLESViewportTarget that uses the currently defined OpenGLES viewport as it's initial area.
 
 OpenGLESViewportTarget (OpenGLESRenderer &owner, const Rectf &area)
 Construct a OpenGLESViewportTarget that uses the specified Rect as it's initial area. More...
 
bool isImageryCache () const
 
- Public Member Functions inherited from CEGUI::OpenGLESRenderTarget<>
 OpenGLESRenderTarget (OpenGLESRenderer &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::OpenGLESRenderTarget<>
virtual void updateMatrix () const
 helper that initialises the cached matrix
 
- Protected Attributes inherited from CEGUI::OpenGLESRenderTarget<>
OpenGLESRendererd_owner
 OpenGLESRenderer that created this object.
 
Rectf d_area
 holds defined area for the RenderTarget
 
float d_matrix [16]
 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::OpenGLESRenderTarget<>
static const double d_yfov_tan
 tangent of the y FOV half-angle; used to calculate viewing distance.
 

Detailed Description

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

Constructor & Destructor Documentation

CEGUI::OpenGLESViewportTarget::OpenGLESViewportTarget ( OpenGLESRenderer owner,
const Rectf area 
)

Construct a OpenGLESViewportTarget 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.