Implementation of an ntermediate RenderTarget for the Direct3D 10 API.
More...
List of all members.
Protected Member Functions |
void | updateMatrix () const |
| helper that initialises the cached matrix
|
void | setupViewport (D3D11_VIEWPORT &vp) const |
| helper to initialise the D3D10_VIEWPORT vp for this target.
|
Detailed Description
Implementation of an ntermediate RenderTarget for the Direct3D 10 API.
Member Function Documentation
void CEGUI::Direct3D11RenderTarget::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::Direct3D11TextureTarget.
void CEGUI::Direct3D11RenderTarget::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::Direct3D11TextureTarget.
void CEGUI::Direct3D11RenderTarget::draw |
( |
const GeometryBuffer & |
buffer | ) |
|
|
virtual |
void CEGUI::Direct3D11RenderTarget::draw |
( |
const RenderQueue & |
queue | ) |
|
|
virtual |
const Rect& CEGUI::Direct3D11RenderTarget::getArea |
( |
| ) |
const |
|
virtual |
void CEGUI::Direct3D11RenderTarget::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.