Crazy Eddie's GUI System
0.8.4
|
CEGUI::RenderTarget that targets an existing gre::RenderTarget. More...
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 |
CEGUI::RenderTarget that targets an existing gre::RenderTarget.
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.
Implements CEGUI::RenderTarget.
void CEGUI::OgreWindowTarget::setOgreRenderTarget | ( | Ogre::RenderTarget & | target | ) |
Set the Ogre::RenderTarget that the output from the OgreWindowTarget should be rendered to.
target | Reference to an Ogre::RenderTarget object that will receive the rendered output. |