28 #ifndef _CEGUIIrrlichtRenderer_h_
29 #define _CEGUIIrrlichtRenderer_h_
31 #include "CEGUI/RendererModules/Irrlicht/RendererDef.h"
32 #include "../../Renderer.h"
33 #include "../../Size.h"
34 #include "../../Vector.h"
40 # pragma warning(push)
41 # pragma warning(disable : 4251)
65 class IrrlichtTexture;
66 class IrrlichtGeometryBuffer;
67 class IrrlichtResourceProvider;
68 class IrrlichtEventPusher;
69 class IrrlichtImageCodec;
97 const int abi = CEGUI_VERSION_ABI);
115 static void destroySystem();
119 const int abi = CEGUI_VERSION_ABI);
126 createIrrlichtResourceProvider(irr::io::IFileSystem& fs);
133 irr::video::IVideoDriver& driver);
139 bool injectEvent(
const irr::SEvent& event);
151 Sizef getAdjustedTextureSize(
const Sizef& sz)
const;
158 static float getNextPOTSize(
const float f);
164 void destroyAllGeometryBuffers();
167 void destroyAllTextureTargets();
171 const String& resourceGroup);
173 void destroyTexture(
Texture& texture);
174 void destroyTexture(
const String& name);
175 void destroyAllTextures();
177 bool isTextureDefined(
const String& name)
const;
178 void beginRendering();
180 void setDisplaySize(
const Sizef& sz);
181 const Sizef& getDisplaySize()
const;
182 const Vector2f& getDisplayDPI()
const;
183 uint getMaxTextureSize()
const;
184 const String& getIdentifierString()
const;
194 void throwIfNameExists(
const String& name)
const;
196 static void logTextureCreation(
const String& name);
198 static void logTextureDestruction(
const String& name);
237 #if defined(_MSC_VER)
238 # pragma warning(pop)
241 #endif // end of guard _CEGUIIrrlichtRenderer_h_