Blender V4.3
depsgraph_tag.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2019 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
10
11struct ID;
12struct Main;
13
14namespace blender::deg {
15
16struct Depsgraph;
17
18/* Get type of a node which corresponds to a ID_RECALC_GEOMETRY tag. */
20
21/* Tag given ID for an update in all registered dependency graphs. */
22void id_tag_update(Main *bmain, ID *id, unsigned int flags, eUpdateSource update_source);
23
24/* Tag given ID for an update with in a given dependency graph. */
26 Main *bmain, Depsgraph *graph, ID *id, unsigned int flags, eUpdateSource update_source);
27
28/* Tag IDs of the graph for the visibility update tags.
29 * Will do nothing if the graph is not tagged for visibility update. */
30void graph_tag_ids_for_visible_update(Depsgraph *graph);
31
32} // namespace blender::deg
NodeType geometry_tag_to_component(const ID *id)
void graph_tag_ids_for_visible_update(Depsgraph *graph)
void id_tag_update(Main *bmain, ID *id, uint flags, eUpdateSource update_source)
void graph_id_tag_update(Main *bmain, Depsgraph *graph, ID *id, uint flags, eUpdateSource update_source)
Definition DNA_ID.h:413