Crazy Eddie's GUI System
0.8.7
|
Intermediate OpenGL implementation of a RenderTarget. More...
Public Member Functions | |
OpenGLRenderTarget (OpenGLRendererBase &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 | |
OpenGLRendererBase & | d_owner |
OpenGLRendererBase that created this object. | |
Rectf | d_area |
holds defined area for the RenderTarget | |
mat4Pimpl * | d_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 | |
static const double | d_yfov_tan |
tangent of the y FOV half-angle; used to calculate viewing distance. | |
Intermediate OpenGL implementation of a RenderTarget.