28 #ifndef _CEGUINullRenderer_h_
29 #define _CEGUINullRenderer_h_
31 #include "../../CEGUIRenderer.h"
32 #include "../../CEGUISize.h"
33 #include "../../CEGUIVector.h"
38 #if (defined( __WIN32__ ) || defined( _WIN32 )) && !defined(CEGUI_STATIC)
39 # ifdef NULL_GUIRENDERER_EXPORTS
40 # define NULL_GUIRENDERER_API __declspec(dllexport)
42 # define NULL_GUIRENDERER_API __declspec(dllimport)
45 # define NULL_GUIRENDERER_API
49 # pragma warning(push)
50 # pragma warning(disable : 4251)
57 class NullGeometryBuffer;
59 class NullRenderTarget;
96 static void destroySystem();
111 void destroyAllGeometryBuffers();
114 void destroyAllTextureTargets();
118 void destroyTexture(
Texture& texture);
119 void destroyAllTextures();
120 void beginRendering();
122 void setDisplaySize(
const Size& sz);
123 const Size& getDisplaySize()
const;
124 const Vector2& getDisplayDPI()
const;
125 uint getMaxTextureSize()
const;
126 const String& getIdentifierString()
const;
132 void constructor_impl();
165 #if defined(_MSC_VER)
166 # pragma warning(pop)
169 #endif // end of guard _CEGUINullRenderer_h_
Class used as a two dimensional vector (aka a Point)
Definition: CEGUIVector.h:45
Size d_displaySize
What the renderer considers to be the current display size.
Definition: CEGUINullRenderer.h:139
Intermediate RenderTarget.
Definition: CEGUINullRenderTarget.h:39
std::vector< NullGeometryBuffer * > GeometryBufferList
container type used to hold GeometryBuffers we create.
Definition: CEGUINullRenderer.h:151
Abstract class defining the interface for objects that buffer geometry for later rendering.
Definition: CEGUIGeometryBuffer.h:42
TextureList d_textures
Container used to track textures.
Definition: CEGUINullRenderer.h:157
NullRenderTarget * d_defaultTarget
The default RenderTarget (used by d_defaultRoot)
Definition: CEGUINullRenderer.h:145
Class that holds the size (width & height) of something.
Definition: CEGUISize.h:43
Specialisation of RenderTarget interface that should be used as the base class for RenderTargets that...
Definition: CEGUITextureTarget.h:41
std::vector< TextureTarget * > TextureTargetList
container type used to hold TextureTargets we create.
Definition: CEGUINullRenderer.h:147
GeometryBufferList d_geometryBuffers
Container used to track geometry buffers.
Definition: CEGUINullRenderer.h:153
std::vector< NullTexture * > TextureList
container type used to hold Textures we create.
Definition: CEGUINullRenderer.h:155
TextureTargetList d_textureTargets
Container used to track texture targets.
Definition: CEGUINullRenderer.h:149
Abstract base class specifying the required interface for Texture objects.
Definition: CEGUITexture.h:50
static String d_rendererID
String holding the renderer identification text.
Definition: CEGUINullRenderer.h:137
CEGUI::Renderer implementation for no particular engine.
Definition: CEGUINullRenderer.h:62
Abstract class defining the basic required interface for Renderer objects.
Definition: CEGUIRenderer.h:80
uint d_maxTextureSize
What the renderer thinks the max texture size is.
Definition: CEGUINullRenderer.h:159
Definition: CEGUIRenderingRoot.h:36
Vector2 d_displayDPI
What the renderer considers to be the current display DPI resolution.
Definition: CEGUINullRenderer.h:141
RenderingRoot * d_defaultRoot
The default rendering root object.
Definition: CEGUINullRenderer.h:143
String class used within the GUI system.
Definition: CEGUIString.h:57