28 #ifndef _CEGUINullRenderer_h_
29 #define _CEGUINullRenderer_h_
31 #include "../../Renderer.h"
32 #include "../../Size.h"
33 #include "../../Vector.h"
38 #if (defined( __WIN32__ ) || defined( _WIN32 )) && !defined(CEGUI_STATIC)
39 # ifdef CEGUINULLRENDERER_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;
81 static NullRenderer& bootstrapSystem(
const int abi = CEGUI_VERSION_ABI);
98 static void destroySystem();
104 static NullRenderer& create(
const int abi = CEGUI_VERSION_ABI);
113 void destroyAllGeometryBuffers();
116 void destroyAllTextureTargets();
120 const String& resourceGroup);
122 void destroyTexture(
Texture& texture);
123 void destroyTexture(
const String& name);
124 void destroyAllTextures();
126 bool isTextureDefined(
const String& name)
const;
127 void beginRendering();
129 void setDisplaySize(
const Sizef& sz);
130 const Sizef& getDisplaySize()
const;
131 const Vector2f& getDisplayDPI()
const;
132 uint getMaxTextureSize()
const;
133 const String& getIdentifierString()
const;
139 void constructor_impl();
144 void throwIfNameExists(
const String& name)
const;
146 static void logTextureCreation(
const String& name);
148 static void logTextureDestruction(
const String& name);
178 #if defined(_MSC_VER)
179 # pragma warning(pop)
182 #endif // end of guard _CEGUINullRenderer_h_