Crazy Eddies GUI System: CEGUI::OgreWindowTarget Class Reference

Crazy Eddies GUI System 0.7.6

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Protected Member Functions
CEGUI::OgreWindowTarget Class Reference

CEGUI::RenderTarget that targets an existing gre::RenderTarget. More...

Inheritance diagram for CEGUI::OgreWindowTarget:
[legend]
Collaboration diagram for CEGUI::OgreWindowTarget:
[legend]

List of all members.

## Public Member Functions
| OgreWindowTarget (OgreRenderer &owner, Ogre::RenderSystem &rs, Ogre::RenderTarget &target)
| Constructor.
virtual | ~OgreWindowTarget ()
| Destructor.
void | setOgreRenderTarget (Ogre::RenderTarget &target)
| Set the Ogre::RenderTarget that the output from the OgreWindowTarget should be rendered to.
bool | isImageryCache () const
| Return whether the RenderTarget is an implementation that caches actual rendered imagery.
## Protected Member Functions
void | initRenderTarget (Ogre::RenderTarget &target)
| helper function to initialise the render target details

## Detailed Description

CEGUI::RenderTarget that targets an existing gre::RenderTarget.

## Member Function Documentation

bool CEGUI::OgreWindowTarget::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:
  - true if the RenderTarget does cache rendered imagery.
  - false if the RenderTarget does not cache rendered imagery.

Implements CEGUI::RenderTarget.

void CEGUI::OgreWindowTarget::setOgreRenderTarget | ( | Ogre::RenderTarget & | target | ) |

Set the Ogre::RenderTarget that the output from the OgreWindowTarget should be rendered to.

Parameters:

  target | Reference to an Ogre::RenderTarget object that will receive the rendered output.