medcelerate / FFGLTouchEngine

Touchengine FFGL Plugin
Apache License 2.0
44 stars 2 forks source link

Loading and Unloading .tox files #11

Closed OrdinaireX closed 1 month ago

OrdinaireX commented 1 month ago

Hey this a bit of a feature request,

but it would be great to have an unload button that would unload the .tox files from VRAM. As it is now, the TouchEngine instances stay in VRAM to load in the background. They unload from VRAM if you delete the TouchEngine source in Resolume, but it would be much more convenient to be able to close their instance as needed.

Thanks so much,

O.X

medcelerate commented 1 month ago

This should be easy to do, the instance will stay hot for fast load times though. It may require a button to unload the engine itself in addition to unloading the tox. In future versions there my be an option to do bluegreen style loading with multiple instances living hot for swapping between toxs faster.