7 #ifndef __MYGUI_RENDER_ITEM_H__
8 #define __MYGUI_RENDER_ITEM_H__
33 void setManualRender(
bool _value);
34 bool getManualRender()
const;
36 void addDrawItem(
ISubWidget* _item,
size_t _count);
38 void reallockDrawItem(
ISubWidget* _item,
size_t _count);
41 bool isOutOfDate()
const;
43 size_t getNeedVertexCount()
const;
44 size_t getVertexCount()
const;
46 bool getCurrentUpdate()
const;
47 Vertex* getCurrentVertexBuffer()
const;
49 void setLastVertexCount(
size_t _count);
53 bool getCompression();
56 #if MYGUI_DEBUG_MODE == 1
57 std::string mTextureName;
62 size_t mNeedVertexCount;
72 size_t mLastVertexCount;
83 #endif // __MYGUI_RENDER_ITEM_H__