[LayaAirIDE 1.0]缓存动画图片会有上限嘛
发现加载swf动画过多会出现这个问题,然后有些动画里面的图就变成破图了
LayaAir1.8.0.1beta
AtlasResourceManager:Dispose the inner Atlas。
>>>>altas garbageCollection =1
[.CommandBufferContext]RENDER WARNING: there is no texture bound to the unit 0
使用Laya.loader.clearRes(path)释放资源也无效;求救
LayaAir1.8.0.1beta
AtlasResourceManager:Dispose the inner Atlas。
>>>>altas garbageCollection =1
[.CommandBufferContext]RENDER WARNING: there is no texture bound to the unit 0
使用Laya.loader.clearRes(path)释放资源也无效;求救
没有找到相关结果
已邀请:
1 个回复
Jiangxiaoyu
赞同来自: layabox
public static function __init__():void {
atlasTextureWidth = 2048;
atlasTextureHeight = 2048;
maxTextureCount = 6;
atlasLimitWidth = 512;
atlasLimitHeight = 512;
}
当图量超标时就会出现破图;总算找到问题所在了;