These are chat archives for pixijs/pixi.js

8th
Sep 2016
Ashley Hier
@ash-crash
Sep 08 2016 15:22
Hi guys, after updating to v4 I have noticed a potential problem with cache as bitmap on containers. Upon using cacheAsBitmap, with canvas renderer the texture does not take into account container scaling and reverts back to original texture size
Ivan Popelyshev
@ivanpopelyshev
Sep 08 2016 18:14
@UrKr PIXI.GC_MODES.DEFAULT = PIXI.GC_MODES.AUTO before you create a renderer
and if you want ot run manually
renderer.textureGC.run()
cacheAsBitmap is changing every time, please use extra container in that case
Urban
@UrKr
Sep 08 2016 20:31
@ivanpopelyshev Thank you!
Ivan Popelyshev
@ivanpopelyshev
Sep 08 2016 20:38
also, renderer.textureGC.mode = PIXI.GC_MODES.AUTO helps too