Intermediate Direct3D9 implementation of a RenderTarget.
More...
Protected Member Functions |
void | updateMatrix () const |
| helper that initialises the cached matrix
|
void | setupViewport (D3DVIEWPORT9 &vp) const |
| helper to initialise the D3DVIEWPORT9 vp for this target.
|
Detailed Description
Intermediate Direct3D9 implementation of a RenderTarget.
Member Function Documentation
void CEGUI::Direct3D9RenderTarget::activate |
( |
| ) |
|
|
virtual |
Activate the render target and put it in a state ready to be drawn to.
- Note
- You MUST call this before doing any rendering - if you do not call this, in the unlikely event that your application actually works, it will likely stop working in some future version.
Implements CEGUI::RenderTarget.
Reimplemented in CEGUI::Direct3D9TextureTarget.
void CEGUI::Direct3D9RenderTarget::deactivate |
( |
| ) |
|
|
virtual |
Deactivate the render target after having completed rendering.
- Note
- You MUST call this after you finish rendering to the target - if you do not call this, in the unlikely event that your application actually works, it will likely stop working in some future version.
Implements CEGUI::RenderTarget.
Reimplemented in CEGUI::Direct3D9TextureTarget.
void CEGUI::Direct3D9RenderTarget::draw |
( |
const GeometryBuffer & |
buffer | ) |
|
|
virtual |
void CEGUI::Direct3D9RenderTarget::draw |
( |
const RenderQueue & |
queue | ) |
|
|
virtual |
const Rect& CEGUI::Direct3D9RenderTarget::getArea |
( |
| ) |
const |
|
virtual |
void CEGUI::Direct3D9RenderTarget::setArea |
( |
const Rect & |
area | ) |
|
|
virtual |
Set the area for this RenderTarget. The exact action this function will take depends upon what the concrete class is representing. For example, with a 'view port' style RenderTarget, this should set the area that the view port occupies on the display (or rendering window).
- Parameters
-
- Exceptions
-
Implements CEGUI::RenderTarget.