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

Method createDrawItem

MyGUIEngine/src/MyGUI_TileRect.cpp:322–329  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

320 }
321
322 void TileRect::createDrawItem(ITexture* _texture, ILayerNode* _node)
323 {
324 MYGUI_ASSERT(!mRenderItem, "mRenderItem must be nullptr");
325
326 mNode = _node;
327 mRenderItem = mNode->addToRenderItem(_texture, true, false);
328 mRenderItem->addDrawItem(this, mCountVertex);
329 }
330
331 void TileRect::destroyDrawItem()
332 {

Callers

nothing calls this directly

Calls 2

addToRenderItemMethod · 0.80
addDrawItemMethod · 0.80

Tested by

no test coverage detected