27 #ifndef _CEGUIIrrlichtRenderer_h_
28 #define _CEGUIIrrlichtRenderer_h_
30 #include "CEGUI/RendererModules/Irrlicht/RendererDef.h"
31 #include "../../Renderer.h"
32 #include "../../Size.h"
33 #include "../../Vector.h"
39 # pragma warning(push)
40 # pragma warning(disable : 4251)
64 class IrrlichtTexture;
65 class IrrlichtGeometryBuffer;
66 class IrrlichtResourceProvider;
67 class IrrlichtEventPusher;
68 class IrrlichtImageCodec;
96 const int abi = CEGUI_VERSION_ABI);
114 static void destroySystem();
118 const int abi = CEGUI_VERSION_ABI);
125 createIrrlichtResourceProvider(irr::io::IFileSystem& fs);
132 irr::video::IVideoDriver& driver);
138 bool injectEvent(
const irr::SEvent& event);
150 Sizef getAdjustedTextureSize(
const Sizef& sz)
const;
157 static float getNextPOTSize(
const float f);
163 void destroyAllGeometryBuffers();
166 void destroyAllTextureTargets();
170 const String& resourceGroup);
172 void destroyTexture(
Texture& texture);
173 void destroyTexture(
const String& name);
174 void destroyAllTextures();
176 bool isTextureDefined(
const String& name)
const;
177 void beginRendering();
179 void setDisplaySize(
const Sizef& sz);
180 const Sizef& getDisplaySize()
const;
181 const Vector2f& getDisplayDPI()
const;
182 uint getMaxTextureSize()
const;
183 const String& getIdentifierString()
const;
193 void throwIfNameExists(
const String& name)
const;
195 static void logTextureCreation(
const String& name);
197 static void logTextureDestruction(
const String& name);
236 #if defined(_MSC_VER)
237 # pragma warning(pop)
240 #endif // end of guard _CEGUIIrrlichtRenderer_h_