28 #ifndef _CEGUIOgreGeometryBuffer_h_
29 #define _CEGUIOgreGeometryBuffer_h_
31 #include "../../CEGUIGeometryBuffer.h"
32 #include "CEGUIOgreRenderer.h"
33 #include "../../CEGUIRect.h"
35 #include <OgreMatrix4.h>
36 #include <OgreColourValue.h>
37 #include <OgreRenderOperation.h>
61 const Ogre::Matrix4& getMatrix()
const;
65 void setTranslation(
const Vector3& v);
66 void setRotation(
const Vector3& r);
67 void setPivot(
const Vector3& p);
68 void setClippingRegion(
const Rect& 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;
81 Ogre::RGBA colourToOgre(
const colour& col)
const;
83 void updateMatrix()
const;
85 void syncHardwareBuffer()
const;
87 void initialiseTextureStates()
const;
138 #endif // end of guard _CEGUIOgreGeometryBuffer_h_