Crazy Eddie's GUI System  ${CEGUI_VERSION}
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Renderer_wrapper Struct Reference
+ Inheritance diagram for Renderer_wrapper:
+ Collaboration diagram for Renderer_wrapper:

Public Member Functions

virtual void beginRendering ()
 Perform any operations required to put the system into a state ready for rendering operations to begin.
 
virtual ::CEGUI::GeometryBuffercreateGeometryBuffer ()
 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 ::CEGUI::TexturecreateTexture (::CEGUI::String const &name)
 
virtual ::CEGUI::TexturecreateTexture (::CEGUI::String const &name,::CEGUI::String const &filename,::CEGUI::String const &resourceGroup)
 
virtual ::CEGUI::TexturecreateTexture (::CEGUI::String const &name,::CEGUI::Sizef const &size)
 
virtual ::CEGUI::TextureTargetcreateTextureTarget ()
 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 destroyAllGeometryBuffers ()
 Destroy all GeometryBuffer objects created by this Renderer.
 
virtual void destroyAllTextureTargets ()
 Destory all TextureTarget objects created by this Renderer.
 
virtual void destroyAllTextures ()
 Destroy all Texture objects created by this Renderer.
 
virtual void destroyGeometryBuffer (::CEGUI::GeometryBuffer const &buffer)
 
virtual void destroyTexture (::CEGUI::Texture &texture)
 
virtual void destroyTexture (::CEGUI::String const &name)
 
virtual void destroyTextureTarget (::CEGUI::TextureTarget *target)
 
virtual void endRendering ()
 Perform any operations required to finalise rendering.
 
virtual ::CEGUI::RenderTargetgetDefaultRenderTarget ()
 Returns the default RenderTarget object. The default render target is is typically one that targets the entire screen (or rendering window). More...
 
virtual ::CEGUI::Vector2f const & getDisplayDPI () const
 Return the resolution of the display or host window in dots per inch. More...
 
virtual ::CEGUI::Sizef const & getDisplaySize () const
 Return the size of the display or host window in pixels. More...
 
virtual ::CEGUI::String const & getIdentifierString () const
 Return identification string for the renderer module. More...
 
virtual ::CEGUI::uint getMaxTextureSize () const
 Return the pixel size of the maximum supported texture. More...
 
virtual ::CEGUI::TexturegetTexture (::CEGUI::String const &name) const
 
virtual bool isTextureDefined (::CEGUI::String const &name) const
 
virtual void setDisplaySize (::CEGUI::Sizef const &size)
 
- Public Member Functions inherited from CEGUI::Renderer
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 destroyTextureTarget (TextureTarget *target)=0
 Function that cleans up TextureTarget objects created with the createTextureTarget function. More...
 
virtual TexturecreateTexture (const String &name)=0
 Create a 'null' Texture object. More...
 
virtual TexturecreateTexture (const String &name, const String &filename, const String &resourceGroup)=0
 Create a Texture object using the given image file. More...
 
virtual TexturecreateTexture (const String &name, const Sizef &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 destroyTexture (const String &name)=0
 Destroy a Texture object that was previously created by calling the createTexture functions. More...
 
virtual TexturegetTexture (const String &name) const =0
 Return a Texture object that was previously created by calling the createTexture functions. More...
 
virtual bool isTextureDefined (const String &name) const =0
 Return whether a texture with the given name exists.
 
virtual void setDisplaySize (const Sizef &size)=0
 Set the size of the display or host window in pixels for this Renderer object. More...
 
virtual ~Renderer ()
 Destructor.
 
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 destroyTextureTarget (TextureTarget *target)=0
 Function that cleans up TextureTarget objects created with the createTextureTarget function. More...
 
virtual TexturecreateTexture (const String &name)=0
 Create a 'null' Texture object. More...
 
virtual TexturecreateTexture (const String &name, const String &filename, const String &resourceGroup)=0
 Create a Texture object using the given image file. More...
 
virtual TexturecreateTexture (const String &name, const Sizef &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 destroyTexture (const String &name)=0
 Destroy a Texture object that was previously created by calling the createTexture functions. More...
 
virtual TexturegetTexture (const String &name) const =0
 Return a Texture object that was previously created by calling the createTexture functions. More...
 
virtual bool isTextureDefined (const String &name) const =0
 Return whether a texture with the given name exists.
 
virtual void setDisplaySize (const Sizef &size)=0
 Set the size of the display or host window in pixels for this Renderer object. More...
 
virtual ~Renderer ()
 Destructor.
 

Member Function Documentation

virtual ::CEGUI::GeometryBuffer& Renderer_wrapper::createGeometryBuffer ( )
inlinevirtual

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.

Returns
GeometryBuffer object.

Implements CEGUI::Renderer.

virtual ::CEGUI::TextureTarget* Renderer_wrapper::createTextureTarget ( )
inlinevirtual

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.

Returns
Pointer to a TextureTarget object that is suitable for caching imagery, or 0 if the renderer is unable to offer such a thing.

Implements CEGUI::Renderer.

virtual ::CEGUI::RenderTarget& Renderer_wrapper::getDefaultRenderTarget ( )
inlinevirtual

Returns the default RenderTarget object. The default render target is is typically one that targets the entire screen (or rendering window).

Returns
Reference to a RenderTarget object.

Implements CEGUI::Renderer.

virtual ::CEGUI::Vector2f const& Renderer_wrapper::getDisplayDPI ( ) const
inlinevirtual

Return the resolution of the display or host window in dots per inch.

Returns
Vector2 object that describes the resolution of the display or host window in DPI.

Implements CEGUI::Renderer.

virtual ::CEGUI::Sizef const& Renderer_wrapper::getDisplaySize ( ) const
inlinevirtual

Return the size of the display or host window in pixels.

Returns
Size object describing the pixel dimesntions of the current display or host window.

Implements CEGUI::Renderer.

virtual ::CEGUI::String const& Renderer_wrapper::getIdentifierString ( ) const
inlinevirtual

Return identification string for the renderer module.

Returns
String object holding text that identifies the Renderer in use.

Implements CEGUI::Renderer.

virtual ::CEGUI::uint Renderer_wrapper::getMaxTextureSize ( ) const
inlinevirtual

Return the pixel size of the maximum supported texture.

Returns
Size of the maximum supported texture in pixels.

Implements CEGUI::Renderer.