removeTextureAtlas method
Implementation
void removeTextureAtlas(String name, {bool dispose = true}) {
final resourceManagerResource = _removeResource('TextureAtlas', name);
final textureAtlas = resourceManagerResource?.value;
if (textureAtlas is TextureAtlas && dispose) {
for (var textureAtlasFrame in textureAtlas.frames) {
textureAtlasFrame.bitmapData.renderTexture.dispose();
}
}
}