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 void setNeedCompression(
bool _compression);
54 bool getNeedCompression()
const;
57#if MYGUI_DEBUG_MODE == 1
58 std::string mTextureName;
63 size_t mNeedVertexCount;
73 size_t mLastVertexCount;
78 bool mNeedCompression;
std::vector< DrawItemInfo > VectorDrawItem
std::pair< ISubWidget *, size_t > DrawItemInfo