Laya.stage.frameLoop(1, this, ZX);function [size=14]ZX[/size][size=14]()[/size]:void{
var tex:Texture=new Texture(sp.drawToCanvas(sp.width,sp.height,0,0))
sp.graphics.clear()
sp.graphics.destroy()
tex.destroy()
tex.disposeBitmap()
tex.bitmap.releaseResource();
}
每次调用都不会刷新,怎么清理都没用内存一下子上百了。怎么回事?应该怎么清理十释放内存!