Blender  V3.3
depsgraph_tag.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later
2  * Copyright 2019 Blender Foundation. All rights reserved. */
3 
8 #include "intern/node/deg_node.h"
9 
10 struct ID;
11 struct Main;
12 
13 namespace blender::deg {
14 
15 struct Depsgraph;
16 
17 /* Get type of a node which corresponds to a ID_RECALC_GEOMETRY tag. */
19 
20 /* Tag given ID for an update in all registered dependency graphs. */
21 void id_tag_update(Main *bmain, ID *id, int flag, eUpdateSource update_source);
22 
23 /* Tag given ID for an update with in a given dependency graph. */
25  Main *bmain, Depsgraph *graph, ID *id, int flag, eUpdateSource update_source);
26 
27 /* Tag IDs of the graph for the visibility update tags.
28  * Will do nothing if the graph is not tagged for visibility update. */
30 
31 } // namespace blender::deg
struct Depsgraph Depsgraph
Definition: DEG_depsgraph.h:35
Depsgraph * graph
NodeType geometry_tag_to_component(const ID *id)
void id_tag_update(Main *bmain, ID *id, int flag, eUpdateSource update_source)
void graph_tag_ids_for_visible_update(Depsgraph *graph)
void graph_id_tag_update(Main *bmain, Depsgraph *graph, ID *id, int flag, eUpdateSource update_source)
Definition: DNA_ID.h:368
Definition: BKE_main.h:121