27 #ifndef _CEGUIOgreGeometryBuffer_h_
28 #define _CEGUIOgreGeometryBuffer_h_
30 #include "CEGUI/GeometryBuffer.h"
31 #include "CEGUI/RendererModules/Ogre/Renderer.h"
32 #include "CEGUI/Rect.h"
33 #include "CEGUI/Quaternion.h"
35 #include <OgreMatrix4.h>
36 #include <OgreColourValue.h>
37 #include <OgreRenderOperation.h>
38 #include <OgreTexture.h>
62 const Ogre::Matrix4& getMatrix()
const;
65 virtual void draw()
const;
66 virtual void setTranslation(
const Vector3f& v);
68 virtual void setPivot(
const Vector3f& p);
69 virtual void setClippingRegion(
const Rectf& region);
70 virtual void appendVertex(
const Vertex& vertex);
71 virtual void appendGeometry(
const Vertex*
const vbuff, uint vertex_count);
72 virtual void setActiveTexture(
Texture* texture);
74 virtual Texture* getActiveTexture()
const;
75 virtual uint getVertexCount()
const;
76 virtual uint getBatchCount()
const;
79 void setClippingActive(
const bool active);
80 bool isClippingActive()
const;
84 Ogre::RGBA colourToOgre(
const Colour& col)
const;
86 void updateMatrix()
const;
88 void syncHardwareBuffer()
const;
90 void initialiseTextureStates()
const;
103 Ogre::TexturePtr texture;
151 #endif // end of guard _CEGUIOgreGeometryBuffer_h_