MCPcopy Create free account
hub / github.com/defold/defold / RemoveTexture

Function RemoveTexture

engine/gui/src/gui.cpp:798–802  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

796 }
797
798 void RemoveTexture(HScene scene, dmhash_t texture_name_hash)
799 {
800 scene->m_Textures.Erase(texture_name_hash);
801 UnassignTexture(scene, texture_name_hash);
802 }
803
804 void ClearTextures(HScene scene)
805 {

Callers 1

TEST_FFunction · 0.50

Calls 2

UnassignTextureFunction · 0.85
EraseMethod · 0.45

Tested by 1

TEST_FFunction · 0.40