diff options
Diffstat (limited to 'intern/cycles/render/bake.h')
-rw-r--r-- | intern/cycles/render/bake.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/intern/cycles/render/bake.h b/intern/cycles/render/bake.h index 652420c2e19..186fbbeea4d 100644 --- a/intern/cycles/render/bake.h +++ b/intern/cycles/render/bake.h @@ -60,6 +60,8 @@ public: BakeData *init(const int object, const size_t tri_offset, const size_t num_pixels); + void set_shader_limit(const size_t x, const size_t y); + bool bake(Device *device, DeviceScene *dscene, Scene *scene, Progress& progress, ShaderEvalType shader_type, BakeData *bake_data, float result[]); void device_update(Device *device, DeviceScene *dscene, Scene *scene, Progress& progress); @@ -76,6 +78,7 @@ public: private: BakeData *m_bake_data; bool m_is_baking; + size_t m_shader_limit; }; CCL_NAMESPACE_END |