Crazy Eddie's GUI System
0.8.5
|
Intermediate OpenGLES implementation of a RenderTarget. More...
Public Member Functions | |
OpenGLESRenderTarget (OpenGLESRenderer &owner) | |
Constructor. | |
void | draw (const GeometryBuffer &buffer) |
void | draw (const RenderQueue &queue) |
void | setArea (const Rectf &area) |
const Rectf & | getArea () 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 | |
OpenGLESRenderer & | d_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. | |
Intermediate OpenGLES implementation of a RenderTarget.