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

Method createDrawItem

MyGUIEngine/src/MyGUI_RotatingSkin.cpp:125–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123 }
124
125 void RotatingSkin::createDrawItem(ITexture* _texture, ILayerNode* _node)
126 {
127 MYGUI_ASSERT(!mRenderItem, "mRenderItem must be nullptr");
128
129 mNode = _node;
130 mRenderItem = mNode->addToRenderItem(_texture, true, false);
131 mRenderItem->addDrawItem(this, (GEOMETRY_VERTICIES_TOTAL_COUNT - 2) * 3);
132 }
133
134 void RotatingSkin::destroyDrawItem()
135 {

Callers

nothing calls this directly

Calls 2

addToRenderItemMethod · 0.80
addDrawItemMethod · 0.80

Tested by

no test coverage detected