boku-ilen / geodot-plugin

Godot plugin for loading geospatial data
GNU General Public License v3.0
109 stars 19 forks source link

Add caching support in multiple levels #20

Open kb173 opened 4 years ago

kb173 commented 4 years ago

There are three places where I think caching could be appropriate:

In some cases, we'd have to decide whether we want to return exactly the same object or a copy of the previously computed object.

kb173 commented 4 years ago

The normal map of the GeoImage, as well as GeoImages themselves (returned from Geodot.get_image) are now cached. The rest can be done similarly.