Crazy Eddie's GUI System
0.8.4
|
OpenGL implementation of a RenderTarget that represents am on-scren viewport. More...
Public Member Functions | |
OpenGLViewportTarget (OpenGLRendererBase &owner) | |
Construct a default OpenGLViewportTarget that uses the currently defined OpenGL viewport as it's initial area. | |
OpenGLViewportTarget (OpenGLRendererBase &owner, const Rectf &area) | |
Construct a OpenGLViewportTarget that uses the specified Rect as it's initial area. | |
bool | isImageryCache () const |
Return whether the RenderTarget is an implementation that caches actual rendered imagery. |
OpenGL implementation of a RenderTarget that represents am on-scren viewport.
CEGUI::OpenGLViewportTarget::OpenGLViewportTarget | ( | OpenGLRendererBase & | owner, |
const Rectf & | area | ||
) |
Construct a OpenGLViewportTarget that uses the specified Rect as it's initial area.
area | Rect object describing the initial viewport area that should be used for the RenderTarget. |
bool CEGUI::OpenGLViewportTarget::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.