28 #ifndef _CEGUIIrrlichtTexture_h_
29 #define _CEGUIIrrlichtTexture_h_
31 #include "CEGUIIrrlichtRendererDef.h"
32 #include "../../CEGUITexture.h"
33 #include "CEGUIIrrlichtRenderer.h"
47 class IrrlichtRenderer;
54 void setIrrlichtTexture(irr::video::ITexture* tex);
57 irr::video::ITexture* getIrrlichtTexture()
const;
66 void setOriginalDataSize(
const Size& sz);
69 static std::string getUniqueName();
72 const Size& getSize()
const;
73 const Size& getOriginalDataSize()
const;
74 const Vector2& getTexelScaling()
const;
75 void loadFromFile(
const String& filename,
const String& resourceGroup);
76 void loadFromMemory(
const void* buffer,
const Size& buffer_size,
78 void saveToMemory(
void* buffer);
100 void freeIrrlichtTexture();
103 void updateCachedScaleValues();
123 #endif // end of guard _CEGUIIrrlichtTexture_h_