Files
blender/intern/cycles/scene/bake.h
Brecht Van Lommel 9cfc7967dd Cycles: use SPDX license headers
* Replace license text in headers with SPDX identifiers.
* Remove specific license info from outdated readme.txt, instead leave details
  to the source files.
* Add list of SPDX license identifiers used, and corresponding license texts.
* Update copyright dates while we're at it.

Ref D14069, T95597
2022-02-11 17:47:34 +01:00

38 lines
709 B
C++

/* SPDX-License-Identifier: Apache-2.0
* Copyright 2011-2022 Blender Foundation */
#ifndef __BAKE_H__
#define __BAKE_H__
#include "device/device.h"
#include "scene/scene.h"
#include "util/progress.h"
#include "util/vector.h"
CCL_NAMESPACE_BEGIN
class BakeManager {
public:
BakeManager();
~BakeManager();
void set(Scene *scene, const std::string &object_name);
bool get_baking() const;
void device_update(Device *device, DeviceScene *dscene, Scene *scene, Progress &progress);
void device_free(Device *device, DeviceScene *dscene);
void tag_update();
bool need_update() const;
private:
bool need_update_;
std::string object_name;
};
CCL_NAMESPACE_END
#endif /* __BAKE_H__ */