28 #ifndef _CEGUIDirect3D9Texture_h_
29 #define _CEGUIDirect3D9Texture_h_
31 #include "../../CEGUIBase.h"
32 #include "../../CEGUIRenderer.h"
33 #include "../../CEGUITexture.h"
34 #include "CEGUIDirect3D9Renderer.h"
48 void setDirect3D9Texture(LPDIRECT3DTEXTURE9 tex);
57 LPDIRECT3DTEXTURE9 getDirect3D9Texture()
const;
66 void setOriginalDataSize(
const Size& sz);
75 const Size& getSize()
const;
76 const Size& getOriginalDataSize()
const;
77 const Vector2& getTexelScaling()
const;
78 void loadFromFile(
const String& filename,
const String& resourceGroup);
79 void loadFromMemory(
const void* buffer,
const Size& buffer_size,
81 void saveToMemory(
void* buffer);
95 const String& resourceGroup);
104 void cleanupDirect3D9Texture();
106 void updateCachedScaleValues();
108 void updateTextureSize();
129 #endif // end of guard _CEGUIDirect3D9Texture_h_