MCPcopy 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
77void TextureInfo::releaseTextures()
78{
79 for (auto&& texture : textures)
80 AX_SAFE_RELEASE(texture);
81 textures.clear();
82}
83
84TextureInfo& TextureInfo::operator=(const TextureInfo& other) noexcept
85{

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected