image-source: Add option (unload when not showing)

If this option is on, the image will unload when the image isn't
displayed anywhere, and then reload it when it's displayed again to
reduce the amount of memory images take up on VRAM at any given time.
If this option is off, then it's always loaded in VRAM regardless of
whether it's displayed or not.

Closes Pull Request #380

(edited by Jim)
This commit is contained in:
Christoph Hohmann
2015-03-05 00:21:36 -08:00
committed by jp9000
parent 52ff7b9734
commit c6008316e2
2 changed files with 69 additions and 9 deletions
@@ -1,2 +1,3 @@
ImageInput="Image"
File="Image File"
UnloadWhenNotShowing="Unload image when not showing"