28 #ifndef _CEGUIOgreGeometryBuffer_h_
29 #define _CEGUIOgreGeometryBuffer_h_
31 #include "CEGUI/GeometryBuffer.h"
32 #include "CEGUI/RendererModules/Ogre/Renderer.h"
33 #include "CEGUI/Rect.h"
34 #include "CEGUI/Quaternion.h"
36 #include <OgreMatrix4.h>
37 #include <OgreColourValue.h>
38 #include <OgreRenderOperation.h>
39 #include <OgreTexture.h>
63 const Ogre::Matrix4& getMatrix()
const;
66 virtual void draw()
const;
67 virtual void setTranslation(
const Vector3f& v);
69 virtual void setPivot(
const Vector3f& p);
70 virtual void setClippingRegion(
const Rectf& region);
71 virtual void appendVertex(
const Vertex& vertex);
72 virtual void appendGeometry(
const Vertex*
const vbuff, uint vertex_count);
73 virtual void setActiveTexture(
Texture* texture);
75 virtual Texture* getActiveTexture()
const;
76 virtual uint getVertexCount()
const;
77 virtual uint getBatchCount()
const;
80 void setClippingActive(
const bool active);
81 bool isClippingActive()
const;
85 Ogre::RGBA colourToOgre(
const Colour& col)
const;
87 void updateMatrix()
const;
89 void syncHardwareBuffer()
const;
91 void initialiseTextureStates()
const;
104 Ogre::TexturePtr texture;
152 #endif // end of guard _CEGUIOgreGeometryBuffer_h_