28 #ifndef _CEGUIDirect3D9GeometryBuffer_h_
29 #define _CEGUIDirect3D9GeometryBuffer_h_
31 #include "../../CEGUIGeometryBuffer.h"
32 #include "CEGUIDirect3D9Renderer.h"
33 #include "../../CEGUIRect.h"
39 # pragma warning(push)
40 # pragma warning(disable : 4251)
46 class Direct3D9Texture;
59 const D3DXMATRIX* getMatrix()
const;
63 void setTranslation(
const Vector3& t);
64 void setRotation(
const Vector3& r);
65 void setPivot(
const Vector3& p);
66 void setClippingRegion(
const Rect& region);
67 void appendVertex(
const Vertex& vertex);
68 void appendGeometry(
const Vertex*
const vbuff, uint vertex_count);
69 void setActiveTexture(
Texture* texture);
71 Texture* getActiveTexture()
const;
72 uint getVertexCount()
const;
73 uint getBatchCount()
const;
79 void performBatchManagement();
81 void updateMatrix()
const;
99 typedef std::pair<LPDIRECT3DTEXTURE9, uint>
BatchInfo;
128 #if defined(_MSC_VER)
129 # pragma warning(pop)
132 #endif // end of guard _CEGUIDirect3D9GeometryBuffer_h_