You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems to be about disposing texture when there are not in the stage anymore.
I'm thinking that it could be a good idea for TextField or _DisplayObjectCache.
If the developer forget to call the "dispose" method after removing them from the Stage would it create a memory leak?
Do you think this can be usefull for StageXL too?
The text was updated successfully, but these errors were encountered:
I need to look at the PixiJS implementation what this actually does. WebGL textures should be garbage collected by the browser if there are no references anymore, but maybe this can be improved by the TextureGarbageCollector. I will take a look at it! Thanks for the suggestion.
Hello Bernhard,
Pixi.js has this "texture gargabe collector":
https://github.com/pixijs/pixi.js/blob/dev/src/core/renderers/webgl/TextureGarbageCollector.js
It seems to be about disposing texture when there are not in the stage anymore.
I'm thinking that it could be a good idea for TextField or _DisplayObjectCache.
If the developer forget to call the "dispose" method after removing them from the Stage would it create a memory leak?
Do you think this can be usefull for StageXL too?
The text was updated successfully, but these errors were encountered: