diff options
Diffstat (limited to 'source/base/StarCellularLighting.hpp')
-rw-r--r-- | source/base/StarCellularLighting.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/base/StarCellularLighting.hpp b/source/base/StarCellularLighting.hpp index 7579a63..54be414 100644 --- a/source/base/StarCellularLighting.hpp +++ b/source/base/StarCellularLighting.hpp @@ -8,6 +8,7 @@ #include "StarColor.hpp" #include "StarInterpolation.hpp" #include "StarCellularLightArray.hpp" +#include "StarThread.hpp" namespace Star { @@ -44,6 +45,9 @@ public: // the call to 'begin', and formatted as RGB24. void calculate(Image& output); + void setupImage(Image& image, PixelFormat format = PixelFormat::RGB24) const; + + ThreadFunction<Image> calculateAsync(); private: Json m_config; bool m_monochrome; |