Rob Gordon Posted April 25, 2020 Share Posted April 25, 2020 Greetings, I'm trying to understand what PIXI.Ticker.system actually does. I have experimented with doing the following after initializing my application: PIXI.Ticker.system.autoStart = false; PIXI.Ticker.system.stop(); The result is much less energy use (as measured by the Activity Monitor in OSX) and no change in the functionality of the application. The docs mention it's used by PIXI.interaction.InteractionManager (which I use a lot), but all my functionality is intact. FYI, I'm also stopping the shared Ticker and just using app.ticker for everything at maxFPS of 30. Thanks, r o b Quote Link to comment Share on other sites More sharing options...
Rob Gordon Posted April 25, 2020 Author Share Posted April 25, 2020 I may have just answered my own question. It seems the InteractionManager doesn't NEED PIXI.Ticker.system, but can send it events and is set up by default to do so. You can do this to shut that down: app.renderer.plugins.interaction.useSystemTicker = false Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted April 25, 2020 Share Posted April 25, 2020 well it covers one case: when mouse is stationary and object is moved under it. If you dont need that - you can switch it off Quote Link to comment Share on other sites More sharing options...
themoonrat Posted April 26, 2020 Share Posted April 26, 2020 I believe the prepare plugin, to upload textures to the GPU, also uses the system ticker, to try and not flood the GPU with tons of uploads all in 1 frame Quote Link to comment Share on other sites More sharing options...
Rob Gordon Posted April 27, 2020 Author Share Posted April 27, 2020 On 4/25/2020 at 3:09 PM, ivan.popelyshev said: well it covers one case: when mouse is stationary and object is moved under it. If you dont need that - you can switch it off Right. Don't generally need that (but I can see how it can come up for others). Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.