Crazy Eddies GUI System
0.7.1
|
Abstract class defining the basic required interface for Renderer objects. More...
Inherited by CEGUI::Direct3D10Renderer, CEGUI::Direct3D9Renderer, CEGUI::DirectFBRenderer, CEGUI::IrrlichtRenderer, CEGUI::OgreRenderer, and CEGUI::OpenGLRenderer.
Public Member Functions | |
virtual RenderingRoot & | getDefaultRenderingRoot ()=0 |
Return the default rendering root for the renderer. The default rendering root is typically a RenderingRoot that targets the entire screen (or rendering window). More... | |
virtual GeometryBuffer & | createGeometryBuffer ()=0 |
Create a new GeometryBuffer and return a reference to it. You should remove the GeometryBuffer from any RenderQueues and call destroyGeometryBuffer when you want to destroy the GeometryBuffer. More... | |
virtual void | destroyGeometryBuffer (const GeometryBuffer &buffer)=0 |
Destroy a GeometryBuffer that was returned when calling the createGeometryBuffer function. Before destroying any GeometryBuffer you should ensure that it has been removed from any RenderQueue that was using it. More... | |
virtual void | destroyAllGeometryBuffers ()=0 |
Destroy all GeometryBuffer objects created by this Renderer. | |
virtual TextureTarget * | createTextureTarget ()=0 |
Create a TextureTarget that can be used to cache imagery; this is a RenderTarget that does not lose it's content from one frame to another. More... | |
virtual void | destroyTextureTarget (TextureTarget *target)=0 |
Function that cleans up TextureTarget objects created with the createTextureTarget function. More... | |
virtual void | destroyAllTextureTargets ()=0 |
Destory all TextureTarget objects created by this Renderer. | |
virtual Texture & | createTexture ()=0 |
Create a 'null' Texture object. More... | |
virtual Texture & | createTexture (const String &filename, const String &resourceGroup)=0 |
Create a Texture object using the given image file. More... | |
virtual Texture & | createTexture (const Size &size)=0 |
Create a Texture object with the given pixel dimensions as specified by size. More... | |
virtual void | destroyTexture (Texture &texture)=0 |
Destroy a Texture object that was previously created by calling the createTexture functions. More... | |
virtual void | destroyAllTextures ()=0 |
Destroy all Texture objects created by this Renderer. | |
virtual void | beginRendering ()=0 |
Perform any operations required to put the system into a state ready for rendering operations to begin. | |
virtual void | endRendering ()=0 |
Perform any operations required to finalise rendering. | |
virtual void | setDisplaySize (const Size &size)=0 |
Set the size of the display or host window in pixels for this Renderer object. More... | |
virtual const Size & | getDisplaySize () const =0 |
Return the size of the display or host window in pixels. More... | |
virtual const Vector2 & | getDisplayDPI () const =0 |
Return the resolution of the display or host window in dots per inch. More... | |
virtual uint | getMaxTextureSize () const =0 |
Return the pixel size of the maximum supported texture. More... | |
virtual const String & | getIdentifierString () const =0 |
Return identification string for the renderer module. More... | |
virtual | ~Renderer () |
Destructor. | |
Abstract class defining the basic required interface for Renderer objects.
Objects derived from Renderer are the means by which the GUI system interfaces with specific rendering technologies. To use a rendering system or API to draw CEGUI imagery requires that an appropriate Renderer object be available.
|
pure virtual |
Create a new GeometryBuffer and return a reference to it. You should remove the GeometryBuffer from any RenderQueues and call destroyGeometryBuffer when you want to destroy the GeometryBuffer.
Implemented in CEGUI::OgreRenderer, CEGUI::IrrlichtRenderer, CEGUI::OpenGLRenderer, CEGUI::Direct3D9Renderer, CEGUI::Direct3D10Renderer, and CEGUI::DirectFBRenderer.
|
pure virtual |
Create a 'null' Texture object.
Implemented in CEGUI::OgreRenderer, CEGUI::IrrlichtRenderer, CEGUI::OpenGLRenderer, CEGUI::Direct3D9Renderer, CEGUI::Direct3D10Renderer, and CEGUI::DirectFBRenderer.
|
pure virtual |
Create a Texture object using the given image file.
filename | String object that specifies the path and filename of the image file to use when creating the texture. |
resourceGroup | String objet that specifies the resource group identifier to be passed to the resource provider when loading the texture file filename. |
Implemented in CEGUI::OgreRenderer, CEGUI::IrrlichtRenderer, CEGUI::OpenGLRenderer, CEGUI::Direct3D9Renderer, CEGUI::Direct3D10Renderer, and CEGUI::DirectFBRenderer.
Create a Texture object with the given pixel dimensions as specified by size.
size | Size object that describes the desired texture size. |
Implemented in CEGUI::OgreRenderer, CEGUI::IrrlichtRenderer, CEGUI::OpenGLRenderer, CEGUI::Direct3D9Renderer, CEGUI::Direct3D10Renderer, and CEGUI::DirectFBRenderer.
|
pure virtual |
Create a TextureTarget that can be used to cache imagery; this is a RenderTarget that does not lose it's content from one frame to another.
If the renderer is unable to offer such a thing, 0 should be returned.
Implemented in CEGUI::OgreRenderer, CEGUI::IrrlichtRenderer, CEGUI::OpenGLRenderer, CEGUI::Direct3D9Renderer, CEGUI::Direct3D10Renderer, and CEGUI::DirectFBRenderer.
|
pure virtual |
Destroy a GeometryBuffer that was returned when calling the createGeometryBuffer function. Before destroying any GeometryBuffer you should ensure that it has been removed from any RenderQueue that was using it.
buffer | The GeometryBuffer object to be destroyed. |
Implemented in CEGUI::OgreRenderer, CEGUI::IrrlichtRenderer, CEGUI::OpenGLRenderer, CEGUI::Direct3D9Renderer, CEGUI::Direct3D10Renderer, and CEGUI::DirectFBRenderer.
|
pure virtual |
Destroy a Texture object that was previously created by calling the createTexture functions.
texture | Texture object to be destroyed. |
Implemented in CEGUI::OgreRenderer, CEGUI::IrrlichtRenderer, CEGUI::OpenGLRenderer, CEGUI::Direct3D9Renderer, CEGUI::Direct3D10Renderer, and CEGUI::DirectFBRenderer.
|
pure virtual |
Function that cleans up TextureTarget objects created with the createTextureTarget function.
target | A pointer to a TextureTarget object that was previously returned from a call to createTextureTarget. |
Implemented in CEGUI::OgreRenderer, CEGUI::IrrlichtRenderer, CEGUI::OpenGLRenderer, CEGUI::Direct3D9Renderer, CEGUI::Direct3D10Renderer, and CEGUI::DirectFBRenderer.
|
pure virtual |
Return the default rendering root for the renderer. The default rendering root is typically a RenderingRoot that targets the entire screen (or rendering window).
Implemented in CEGUI::OgreRenderer, CEGUI::IrrlichtRenderer, CEGUI::OpenGLRenderer, CEGUI::Direct3D9Renderer, CEGUI::Direct3D10Renderer, and CEGUI::DirectFBRenderer.
|
pure virtual |
Return the resolution of the display or host window in dots per inch.
Implemented in CEGUI::OgreRenderer, CEGUI::IrrlichtRenderer, CEGUI::OpenGLRenderer, CEGUI::Direct3D9Renderer, CEGUI::Direct3D10Renderer, and CEGUI::DirectFBRenderer.
|
pure virtual |
Return the size of the display or host window in pixels.
Implemented in CEGUI::OgreRenderer, CEGUI::IrrlichtRenderer, CEGUI::OpenGLRenderer, CEGUI::Direct3D9Renderer, CEGUI::Direct3D10Renderer, and CEGUI::DirectFBRenderer.
|
pure virtual |
Return identification string for the renderer module.
Implemented in CEGUI::OgreRenderer, CEGUI::IrrlichtRenderer, CEGUI::OpenGLRenderer, CEGUI::Direct3D9Renderer, CEGUI::Direct3D10Renderer, and CEGUI::DirectFBRenderer.
|
pure virtual |
Return the pixel size of the maximum supported texture.
Implemented in CEGUI::OgreRenderer, CEGUI::IrrlichtRenderer, CEGUI::OpenGLRenderer, CEGUI::Direct3D9Renderer, CEGUI::Direct3D10Renderer, and CEGUI::DirectFBRenderer.
|
pure virtual |
Set the size of the display or host window in pixels for this Renderer object.
This is intended to be called by the System as part of the notification process when display size changes are notified to it via the System::notifyDisplaySizeChanged function.
size | Size object describing the dimesions of the current or host window in pixels. |
Implemented in CEGUI::OgreRenderer, CEGUI::IrrlichtRenderer, CEGUI::OpenGLRenderer, CEGUI::Direct3D9Renderer, CEGUI::Direct3D10Renderer, and CEGUI::DirectFBRenderer.