Crazy Eddie's GUI System  0.8.4
CEGUI::OgreWindowTarget Class Reference

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

+ Inheritance diagram for CEGUI::OgreWindowTarget:
+ Collaboration diagram for CEGUI::OgreWindowTarget:

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:

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:
targetReference to an Ogre::RenderTarget object that will receive the rendered output.
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends