27 #ifndef _CEGUINullRenderer_h_
28 #define _CEGUINullRenderer_h_
30 #include "../../Renderer.h"
31 #include "../../Size.h"
32 #include "../../Vector.h"
37 #if (defined( __WIN32__ ) || defined( _WIN32 )) && !defined(CEGUI_STATIC)
38 # ifdef CEGUINULLRENDERER_EXPORTS
39 # define NULL_GUIRENDERER_API __declspec(dllexport)
41 # define NULL_GUIRENDERER_API __declspec(dllimport)
44 # define NULL_GUIRENDERER_API
48 # pragma warning(push)
49 # pragma warning(disable : 4251)
56 class NullGeometryBuffer;
80 static NullRenderer& bootstrapSystem(
const int abi = CEGUI_VERSION_ABI);
97 static void destroySystem();
103 static NullRenderer& create(
const int abi = CEGUI_VERSION_ABI);
112 void destroyAllGeometryBuffers();
115 void destroyAllTextureTargets();
119 const String& resourceGroup);
121 void destroyTexture(
Texture& texture);
122 void destroyTexture(
const String& name);
123 void destroyAllTextures();
125 bool isTextureDefined(
const String& name)
const;
126 void beginRendering();
128 void setDisplaySize(
const Sizef& sz);
129 const Sizef& getDisplaySize()
const;
130 const Vector2f& getDisplayDPI()
const;
131 uint getMaxTextureSize()
const;
132 const String& getIdentifierString()
const;
138 void constructor_impl();
143 void throwIfNameExists(
const String& name)
const;
145 static void logTextureCreation(
const String& name);
147 static void logTextureDestruction(
const String& name);
177 #if defined(_MSC_VER)
178 # pragma warning(pop)
181 #endif // end of guard _CEGUINullRenderer_h_