Crazy Eddie's GUI System
0.8.4
|
OpenGL implementation of a RenderTarget that represents am on-scren viewport. More...
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. More... | |
bool | isImageryCache () const |
![]() | |
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 |
Additional Inherited Members | |
![]() | |
virtual void | updateMatrix () const |
helper that initialises the cached matrix | |
![]() | |
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 const double | d_yfov_tan |
tangent of the y FOV half-angle; used to calculate viewing distance. | |
OpenGL implementation of a RenderTarget that represents am on-scren viewport.
CEGUI::OpenGLViewportTarget::OpenGLViewportTarget | ( | OpenGLRendererBase & | owner, |
const Rectf & | area | ||
) |
Construct a OpenGLViewportTarget that uses the specified Rect as it's initial area.
area | Rect object describing the initial viewport area that should be used for the RenderTarget. |