Crazy Eddie's GUI System
${CEGUI_VERSION}
|
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. More... | |
bool | isImageryCache () const |
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. More... | |
bool | isImageryCache () const |
![]() | |
OgreRenderTarget (OgreRenderer &owner, Ogre::RenderSystem &rs) | |
Constructor. | |
OgreRenderTarget (OgreRenderer &owner, Ogre::RenderSystem &rs) | |
Constructor. | |
virtual | ~OgreRenderTarget () |
Destructor. | |
virtual | ~OgreRenderTarget () |
Destructor. | |
void | setOgreViewportDimensions (const Rectf &area) |
Set the underlying viewport area directly - bypassing what the RenderTarget considers to be it's area - thus allowing the view port area used for rendering to be different to the area set for the target. More... | |
void | setOgreViewportDimensions (const Rectf &area) |
Set the underlying viewport area directly - bypassing what the RenderTarget considers to be it's area - thus allowing the view port area used for rendering to be different to the area set for the target. More... | |
void | draw (const GeometryBuffer &buffer) |
void | draw (const RenderQueue &queue) |
void | draw (const GeometryBuffer &buffer) |
void | draw (const RenderQueue &queue) |
void | setArea (const Rectf &area) |
void | setArea (const Rectf &area) |
const Rectf & | getArea () const |
const Rectf & | getArea () const |
void | activate () |
void | activate () |
void | deactivate () |
void | deactivate () |
void | unprojectPoint (const GeometryBuffer &buff, const Vector2f &p_in, Vector2f &p_out) const |
void | unprojectPoint (const GeometryBuffer &buff, const Vector2f &p_in, Vector2f &p_out) const |
Protected Member Functions | |
void | initRenderTarget (Ogre::RenderTarget &target) |
helper function to initialise the render target details | |
void | initRenderTarget (Ogre::RenderTarget &target) |
helper function to initialise the render target details | |
![]() | |
void | updateMatrix () const |
helper that initialises the cached matrix | |
void | updateMatrix () const |
helper that initialises the cached matrix | |
void | updateViewport () |
helper that initialises the viewport | |
void | updateViewport () |
helper that initialises the viewport | |
void | updateOgreViewportDimensions (const Ogre::RenderTarget *const rt) |
helper to update the actual Ogre viewport dimensions | |
void | updateOgreViewportDimensions (const Ogre::RenderTarget *const rt) |
helper to update the actual Ogre viewport dimensions | |
Additional Inherited Members | |
![]() | |
OgreRenderer & | d_owner |
OgreRenderer object that owns this RenderTarget. | |
Ogre::RenderSystem & | d_renderSystem |
Ogre RendererSystem used to affect the rendering process. | |
Rectf | d_area |
holds defined area for the RenderTarget | |
Ogre::RenderTarget * | d_renderTarget |
Ogre render target that we are effectively wrapping. | |
Ogre::Viewport * | d_viewport |
Ogre viewport used for this target. | |
Ogre::Matrix4 | d_matrix |
projection / view matrix cache | |
bool | d_matrixValid |
true when d_matrix is valid and up to date | |
float | d_viewDistance |
tracks viewing distance (this is set up at the same time as d_matrix) | |
bool | d_viewportValid |
Rectf | d_ogreViewportDimensions |
holds set Ogre viewport dimensions | |
CEGUI::RenderTarget that targets an existing gre::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. |
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. |
References CEGUI::OgreRenderTarget<>::d_viewport, CEGUI::OgreRenderTarget<>::d_viewportValid, and initRenderTarget().
Referenced by CEGUI::OgreRenderer::setDefaultRootRenderTarget().