Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_F
Function · 0.50
Calls
2
UnassignTexture
Function · 0.85
Erase
Method · 0.45
Tested by
1
TEST_F
Function · 0.40