40 if (scene->update_stats) {
41 scene->update_stats->procedurals.times.add_entry({
"update", time});
45 foreach (
Procedural *procedural, scene->procedurals) {
46 if (progress.get_cancel()) {
50 procedural->
generate(scene, progress);
53 if (progress.get_cancel()) {
void update(Scene *scene, Progress &progress)
virtual void generate(Scene *scene, Progress &progress)=0
NODE_ABSTRACT_DECLARE Procedural(const NodeType *type)
void set_status(const string &status_, const string &substatus_="")
#define CCL_NAMESPACE_END
#define NODE_ABSTRACT_DEFINE(structname)
static NodeType * add(const char *name, CreateFunc create, Type type=NONE, const NodeType *base=NULL)