Crazy Eddie's GUI System  0.8.3
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
CEGUI::OpenGLESRenderTarget< T > Class Template Reference

Intermediate OpenGLES implementation of a RenderTarget. More...

+ Inheritance diagram for CEGUI::OpenGLESRenderTarget< T >:
+ Collaboration diagram for CEGUI::OpenGLESRenderTarget< T >:

Public Member Functions

 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
 

Protected Member Functions

virtual void updateMatrix () const
 helper that initialises the cached matrix
 

Protected Attributes

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

static const double d_yfov_tan
 tangent of the y FOV half-angle; used to calculate viewing distance.
 

Detailed Description

template<typename T = RenderTarget>
class CEGUI::OpenGLESRenderTarget< T >

Intermediate OpenGLES implementation of a RenderTarget.