Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/axmolengine/axmol
/ removeAllTextures
Method
removeAllTextures
core/renderer/TextureCache.cpp:652–659 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
650
// TextureCache - Remove
651
652
void TextureCache::removeAllTextures()
653
{
654
for (auto&& texture : _textures)
655
{
656
texture.second->release();
657
}
658
_textures.clear();
659
}
660
661
void TextureCache::removeUnusedTextures()
662
{
Callers
3
commandTexturesSubCommandFlush
Method · 0.80
~LAppModel
Method · 0.80
~TextureAsync
Method · 0.80
Calls
2
release
Method · 0.45
clear
Method · 0.45
Tested by
1
~TextureAsync
Method · 0.64