22 #ifndef __MYGUI_RENDER_ITEM_H__
23 #define __MYGUI_RENDER_ITEM_H__
48 void setManualRender(
bool _value);
49 bool getManualRender()
const;
51 void addDrawItem(
ISubWidget* _item,
size_t _count);
53 void reallockDrawItem(
ISubWidget* _item,
size_t _count);
56 bool isOutOfDate()
const;
58 size_t getNeedVertexCount()
const;
59 size_t getVertexCount()
const;
61 bool getCurrentUpdate()
const;
62 Vertex* getCurrentVertexBuffer()
const;
64 void setLastVertexCount(
size_t _count);
68 bool getCompression();
71 #if MYGUI_DEBUG_MODE == 1
72 std::string mTextureName;
77 size_t mNeedVertexCount;
87 size_t mLastVertexCount;
98 #endif // __MYGUI_RENDER_ITEM_H__
std::pair< ISubWidget *, size_t > DrawItemInfo
std::vector< DrawItemInfo > VectorDrawItem