MCPcopy Create free account
hub / github.com/MyGUI/mygui / createDrawItem

Method createDrawItem

MyGUIEngine/src/MyGUI_SubSkin.cpp:156–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154 }
155
156 void SubSkin::createDrawItem(ITexture* _texture, ILayerNode* _node)
157 {
158 MYGUI_ASSERT(!mRenderItem, "mRenderItem must be nullptr");
159
160 mNode = _node;
161 mRenderItem = mNode->addToRenderItem(_texture, true, mSeparate);
162 mRenderItem->addDrawItem(this, VertexQuad::VertexCount);
163 }
164
165 void SubSkin::destroyDrawItem()
166 {

Callers 1

attachToLayerItemNodeMethod · 0.45

Calls 2

addToRenderItemMethod · 0.80
addDrawItemMethod · 0.80

Tested by

no test coverage detected