Move still image callback to MapContext

This commit is contained in:
John Firebaugh
2015-04-23 15:18:47 -07:00
parent f0b229730f
commit f8db45f19a
5 changed files with 26 additions and 29 deletions

View File

@@ -46,6 +46,8 @@ public:
// Resumes a paused render thread
void resume();
// Register a callback that will get called (on the render thread) when all resources have
// been loaded and a complete render occurs.
using StillImageCallback = std::function<void(std::unique_ptr<const StillImage>)>;
void renderStill(StillImageCallback callback);