This repository has been archived on 2023-10-09. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
blender-archive/source/blender/depsgraph/intern/node/deg_node_time.h

28 lines
535 B
C++

/* SPDX-License-Identifier: GPL-2.0-or-later
* Copyright 2013 Blender Foundation. All rights reserved. */
/** \file
* \ingroup depsgraph
*/
#pragma once
#include "intern/node/deg_node.h"
namespace blender::deg {
/* Time Source Node. */
struct TimeSourceNode : public Node {
bool tagged_for_update = false;
// TODO: evaluate() operation needed
virtual void tag_update(Depsgraph *graph, eUpdateSource source) override;
void flush_update_tag(Depsgraph *graph);
DEG_DEPSNODE_DECLARE;
};
} // namespace blender::deg