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