Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/axmolengine/axmol
/ releaseTextures
Method
releaseTextures
core/renderer/backend/ProgramState.cpp:77–82 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
75
}
76
77
void TextureInfo::releaseTextures()
78
{
79
for (auto&& texture : textures)
80
AX_SAFE_RELEASE(texture);
81
textures.clear();
82
}
83
84
TextureInfo& TextureInfo::operator=(const TextureInfo& other) noexcept
85
{
Callers
nothing calls this directly
Calls
1
clear
Method · 0.45
Tested by
no test coverage detected