29#ifndef _CEGUIRenderer_h_
30#define _CEGUIRenderer_h_
32#include "CEGUI/Base.h"
33#include "CEGUI/String.h"
34#include "CEGUI/Size.h"
35#include "CEGUI/Vector.h"
205 const String& resourceGroup) = 0;
Definition: MemoryAllocatedObject.h:110
Abstract class defining the interface for objects that buffer geometry for later rendering.
Definition: GeometryBuffer.h:44
Defines interface to some surface that can be rendered to. Concrete instances of objects that impleme...
Definition: RenderTarget.h:60
Abstract class defining the basic required interface for Renderer objects.
Definition: Renderer.h:84
virtual TextureTarget * createTextureTarget()=0
Create a TextureTarget that can be used to cache imagery; this is a RenderTarget that does not lose i...
virtual void destroyAllTextureTargets()=0
Destory all TextureTarget objects created by this Renderer.
virtual const String & getIdentifierString() const =0
Return identification string for the renderer module.
virtual Texture & createTexture(const String &name)=0
Create a 'null' Texture object.
virtual void destroyAllGeometryBuffers()=0
Destroy all GeometryBuffer objects created by this Renderer.
virtual Texture & createTexture(const String &name, const Sizef &size)=0
Create a Texture object with the given pixel dimensions as specified by size.
virtual const Vector2f & getDisplayDPI() const =0
Return the resolution of the display or host window in dots per inch.
virtual void destroyGeometryBuffer(const GeometryBuffer &buffer)=0
Destroy a GeometryBuffer that was returned when calling the createGeometryBuffer function....
virtual void destroyTexture(const String &name)=0
Destroy a Texture object that was previously created by calling the createTexture functions.
virtual ~Renderer()
Destructor.
Definition: Renderer.h:348
virtual void destroyTexture(Texture &texture)=0
Destroy a Texture object that was previously created by calling the createTexture functions.
virtual void destroyAllTextures()=0
Destroy all Texture objects created by this Renderer.
virtual void setDisplaySize(const Sizef &size)=0
Set the size of the display or host window in pixels for this Renderer object.
virtual RenderTarget & getDefaultRenderTarget()=0
Returns the default RenderTarget object. The default render target is is typically one that targets t...
virtual void beginRendering()=0
Perform any operations required to put the system into a state ready for rendering operations to begi...
virtual GeometryBuffer & createGeometryBuffer()=0
Create a new GeometryBuffer and return a reference to it. You should remove the GeometryBuffer from a...
virtual const Sizef & getDisplaySize() const =0
Return the size of the display or host window in pixels.
virtual bool isTextureDefined(const String &name) const =0
Return whether a texture with the given name exists.
virtual Texture & getTexture(const String &name) const =0
Return a Texture object that was previously created by calling the createTexture functions.
virtual uint getMaxTextureSize() const =0
Return the pixel size of the maximum supported texture.
virtual Texture & createTexture(const String &name, const String &filename, const String &resourceGroup)=0
Create a Texture object using the given image file.
virtual void endRendering()=0
Perform any operations required to finalise rendering.
virtual void destroyTextureTarget(TextureTarget *target)=0
Function that cleans up TextureTarget objects created with the createTextureTarget function.
String class used within the GUI system.
Definition: String.h:64
Specialisation of RenderTarget interface that should be used as the base class for RenderTargets that...
Definition: TextureTarget.h:41
Abstract base class specifying the required interface for Texture objects.
Definition: Texture.h:54
Main namespace for Crazy Eddie's GUI Library.
Definition: arch_overview.dox:1
BlendMode
Enumerated type that contains the valid options that specify the type of blending that is to be perfo...
Definition: Renderer.h:62
@ BM_INVALID
Invalid mode indicator.
Definition: Renderer.h:64
@ BM_NORMAL
Use normal blending mode.
Definition: Renderer.h:66
@ BM_RTT_PREMULTIPLIED
Use blending mode suitable for textures with premultiplied colours.
Definition: Renderer.h:68
QuadSplitMode
Enumerated type that contains the valid diagonal-mode that specify how a quad is split into triangles...
Definition: Renderer.h:47
@ TopLeftToBottomRight
Diagonal split goes from top-left to bottom-right.
Definition: Renderer.h:49
@ BottomLeftToTopRight
Diagonal split goes from bottom-left to top-right.
Definition: Renderer.h:51