Crazy Eddie's GUI System
0.8.7
|
Intermediate RenderTarget implementing common parts for Irrlicht engine. More...
Public Member Functions | |
IrrlichtRenderTarget (IrrlichtRenderer &owner, irr::video::IVideoDriver &driver) | |
Constructor. | |
virtual | ~IrrlichtRenderTarget () |
Destructor. | |
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 | |
void | updateMatrix () const |
helper that initialises the cached matrix | |
Protected Attributes | |
IrrlichtRenderer & | d_owner |
IrrlichtRenderer object that owns this RenderTarget. | |
irr::video::IVideoDriver & | d_driver |
Irrlicht video driver we are using. | |
Rectf | d_area |
holds defined area for the RenderTarget | |
irr::core::matrix4 | d_matrix |
projection / view matrix cache | |
bool | d_matrixValid |
true when d_matrix is valid and up to date | |
float | d_viewDistance |
tracks viewing distance (this is set up at the same time as d_matrix) | |
const float | d_xViewDir |
a coefficient used to handle OpenGL / D3D projection variations. | |
Intermediate RenderTarget implementing common parts for Irrlicht engine.