Frees the resource from memory by calling the free construct on the resource if it has unreleased pointers and so on, and later removes the resource from the array, letting the garbage collector destroy this object.
Resource class
Name or Path to file resource
loader.free!Image("myImage");
See Implementation
Frees the resource from memory by calling the free construct on the resource if it has unreleased pointers and so on, and later removes the resource from the array, letting the garbage collector destroy this object.