27 #ifndef _CEGUIIrrlichtGeometryBuffer_h_
28 #define _CEGUIIrrlichtGeometryBuffer_h_
30 #include "CEGUI/RendererModules/Irrlicht/RendererDef.h"
31 #include "CEGUI/GeometryBuffer.h"
32 #include "CEGUI/Rect.h"
33 #include "CEGUI/Vector.h"
38 # pragma warning(push)
39 # pragma warning(disable : 4251)
45 class IrrlichtTexture;
55 const irr::core::matrix4& getMatrix()
const;
58 irr::video::SMaterial& getMaterial();
60 const irr::video::SMaterial& getMaterial()
const;
65 void setTranslation(
const Vector3f& v);
68 void setClippingRegion(
const Rectf& region);
69 void appendVertex(
const Vertex& vertex);
70 void appendGeometry(
const Vertex*
const vbuff, uint vertex_count);
71 void setActiveTexture(
Texture* texture);
73 Texture* getActiveTexture()
const;
74 uint getVertexCount()
const;
75 uint getBatchCount()
const;
78 void setClippingActive(
const bool active);
79 bool isClippingActive()
const;
85 void updateMatrix()
const;
86 void setupClipping()
const;
87 void cleanupClipping()
const;
92 irr::video::ITexture* texture;
144 #if defined(_MSC_VER)
145 # pragma warning(pop)
148 #endif // end of guard _CEGUIIrrlichtGeometryBuffer_h_