MCPcopy Create free account
hub / github.com/MyGUI/mygui / ~RTTLayer

Method ~RTTLayer

UnitTests/UnitTest_RTTLayer/MyGUI_RTTLayer.cpp:19–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17{
18
19 RTTLayer::~RTTLayer()
20 {
21 if (mTexture)
22 {
23 MyGUI::RenderManager::getInstance().destroyTexture(mTexture);
24 mTexture = nullptr;
25 }
26 }
27
28 void RTTLayer::deserialization(xml::ElementPtr _node, Version _version)
29 {

Callers

nothing calls this directly

Calls 1

destroyTextureMethod · 0.45

Tested by

no test coverage detected