moolicc / Wallop

Extensible, living/animated wallpaper engine built in C# using Silk.NET's OpenGL wrapper at its core.
29 stars 4 forks source link

Add command to reset the scene's state entirely. #147

Open moolicc opened 2 years ago

moolicc commented 2 years ago

scene reload and scene reload module don't reset the entire state of a scene's resources - some contextual values carry over.

It'd be helpful to have a scene reset, and scene reset module commands to completely reload the scene resources WITHOUT holding any information over.

This might be tricky, as the scene resources will more than likely have mutated since scene construction, thus preventing us from getting at the original state.

Also need to define what "original state means".

Evaluate the feasibility of this and implement.