Implementation of CEGUI::RenderTarget for DirectFB.
More...
Implementation of CEGUI::RenderTarget for DirectFB.
void CEGUI::DirectFBRenderTarget::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.
void CEGUI::DirectFBRenderTarget::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.
void CEGUI::DirectFBRenderTarget::draw |
( |
const GeometryBuffer & |
buffer | ) |
|
|
virtual |
void CEGUI::DirectFBRenderTarget::draw |
( |
const RenderQueue & |
queue | ) |
|
|
virtual |
const Rect& CEGUI::DirectFBRenderTarget::getArea |
( |
| ) |
const |
|
virtual |
bool CEGUI::DirectFBRenderTarget::isImageryCache |
( |
| ) |
const |
|
virtual |
Return whether the RenderTarget is an implementation that caches actual rendered imagery.
Typically it is expected that texture based RenderTargets would return
true in response to this call. Other types of RenderTarget, like
view port based targets, will more likely return false.
- Returns
-
Implements CEGUI::RenderTarget.
void CEGUI::DirectFBRenderTarget::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.