pco38 Posted April 23, 2017 Share Posted April 23, 2017 Hi All, What is the best way to free the memory used by a scene ? I tried scene.dispose but I don't retrieve all the level of memory that I had before loading the scene... Thanks for your help. Best regards Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted April 24, 2017 Share Posted April 24, 2017 if you want to wipe everything: engine.dispose() Textures and shaders are cached at engine level because they can be shared between scenes jellix 1 Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted April 24, 2017 Share Posted April 24, 2017 You can also call engine.releaseEffects() to free shaders without killing the engine Quote Link to comment Share on other sites More sharing options...
Buzul Posted October 9, 2018 Share Posted October 9, 2018 On 4/25/2017 at 2:50 AM, Deltakosh said: You can also call engine.releaseEffects() to free shaders without killing the engine Hi @Deltakosh Can you give us PG sample about this? Quote Link to comment Share on other sites More sharing options...
Guest Posted October 9, 2018 Share Posted October 9, 2018 what do you want to see in this sample? a call to rengine.releaseEffects() ? 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.