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

Method _destroyTexture

MyGUIEngine/src/MyGUI_Canvas.cpp:165–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

163 }
164
165 void Canvas::_destroyTexture(bool _sendEvent)
166 {
167 if (mTexture != nullptr)
168 {
169 if (_sendEvent)
170 {
171 eventPreTextureChanges(this);
172 }
173
174 RenderManager::getInstance().destroyTexture(mTexture);
175 mTexture = nullptr;
176 }
177 }
178
179 void Canvas::correctUV()
180 {

Callers

nothing calls this directly

Calls 1

destroyTextureMethod · 0.45

Tested by

no test coverage detected