Go to the documentation of this file.
23 #ifndef COORDSBUFFER_H
24 #define COORDSBUFFER_H
32 CACHE_MIN_VERTICES_COUNT = 48
39 m_textureCoordArray.
clear();
40 m_vertexArray.
clear();
41 m_hardwareCached =
false;
46 m_hardwareCached =
false;
50 m_hardwareCached =
false;
54 m_textureCoordArray.
addRect(src);
55 m_hardwareCached =
false;
59 m_textureCoordArray.
addQuad(src);
60 m_hardwareCached =
false;
64 m_textureCoordArray.
addQuad(src);
65 m_hardwareCached =
false;
89 bool m_hardwareCached;
90 bool m_hardwareCaching;
void addRepeatedRects(const Rect &dest, const Rect &src)
void addTriangle(const Point &a, const Point &b, const Point &c)
void addUpsideDownQuad(const Rect &dest, const Rect &src)
int getTextureCoordCount()
void addRect(const Rect &dest, const Rect &src)
void enableHardwareCaching(HardwareBuffer::UsagePattern usagePattern=HardwareBuffer::DynamicDraw)
void addUpsideDownQuad(const Rect &rect)
void addBoudingRect(const Rect &dest, int innerLineWidth)
HardwareBuffer * getHardwareTextureCoordArray()
void addRect(const Rect &rect)
void addRect(const Rect &dest)
HardwareBuffer * getHardwareVertexArray()
void addQuad(const Rect &dest, const Rect &src)
float * getTextureCoordArray()
void addTriangle(const Point &a, const Point &b, const Point &c)
void addQuad(const Rect &rect)