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

Method setTextureName

Tools/LayoutEditor/MyGUI_RTTLayer.cpp:92–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90 }
91
92 void RTTLayer::setTextureName(std::string_view _name)
93 {
94 mTextureName = _name;
95
96 if (mTexture != nullptr)
97 {
98 IntSize size = mTextureSize;
99 mTextureSize.clear();
100 setTextureSize(size);
101 }
102
103 mOutOfDateRtt = true;
104 }
105
106 const IntSize& RTTLayer::getSize() const
107 {

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected