28 #ifndef _CEGUIIrrlichtGeometryBuffer_h_
29 #define _CEGUIIrrlichtGeometryBuffer_h_
31 #include "CEGUI/RendererModules/Irrlicht/RendererDef.h"
32 #include "CEGUI/GeometryBuffer.h"
33 #include "CEGUI/Rect.h"
34 #include "CEGUI/Vector.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 Vector3f& v);
69 void setClippingRegion(
const Rectf& 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;
79 void setClippingActive(
const bool active);
80 bool isClippingActive()
const;
86 void updateMatrix()
const;
87 void setupClipping()
const;
88 void cleanupClipping()
const;
93 irr::video::ITexture* texture;
145 #if defined(_MSC_VER)
146 # pragma warning(pop)
149 #endif // end of guard _CEGUIIrrlichtGeometryBuffer_h_