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

Intermediate RenderTarget implementing common parts for Irrlicht engine. More...

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

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 RectfgetArea () 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

IrrlichtRendererd_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.
 

Detailed Description

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

Intermediate RenderTarget implementing common parts for Irrlicht engine.