28 #ifndef _CEGUIIrrlichtGeometryBuffer_h_
29 #define _CEGUIIrrlichtGeometryBuffer_h_
31 #include "CEGUIIrrlichtRendererDef.h"
32 #include "../../CEGUIGeometryBuffer.h"
33 #include "../../CEGUIRect.h"
34 #include "../../CEGUIVector.h"
39 # pragma warning(push)
40 # pragma warning(disable : 4251)
46 class IrrlichtTexture;
56 const irr::core::matrix4& getMatrix()
const;
59 irr::video::SMaterial& getMaterial();
61 const irr::video::SMaterial& getMaterial()
const;
66 void setTranslation(
const Vector3& v);
67 void setRotation(
const Vector3& r);
68 void setPivot(
const Vector3& p);
69 void setClippingRegion(
const Rect& region);
70 void appendVertex(
const Vertex& vertex);
71 void appendGeometry(
const Vertex*
const vbuff, uint vertex_count);
72 void setActiveTexture(
Texture* texture);
74 Texture* getActiveTexture()
const;
75 uint getVertexCount()
const;
76 uint getBatchCount()
const;
82 void updateMatrix()
const;
105 typedef std::pair<irr::video::ITexture*, uint>
BatchInfo;
127 #if defined(_MSC_VER)
128 # pragma warning(pop)
131 #endif // end of guard _CEGUIIrrlichtGeometryBuffer_h_