Blender
V5.0
source
blender
depsgraph
intern
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
8
9
#include "
intern/node/deg_node.hh
"
10
11
struct
ID
;
12
struct
Main
;
13
14
namespace
blender::deg
{
15
16
struct
Depsgraph
;
17
18
/* Get type of a node which corresponds to a ID_RECALC_GEOMETRY tag. */
19
NodeType
geometry_tag_to_component
(
const
ID
*
id
);
20
21
/* Tag given ID for an update in all registered dependency graphs. */
22
void
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. */
25
void
graph_id_tag_update
(
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. */
30
void
graph_tag_ids_for_visible_update
(
Depsgraph
*graph);
31
32
}
// namespace blender::deg
ID
struct ID ID
deg_node.hh
blender::deg
Definition
DEG_depsgraph_light_linking.hh:14
blender::deg::geometry_tag_to_component
NodeType geometry_tag_to_component(const ID *id)
Definition
depsgraph_tag.cc:599
blender::deg::NodeType
NodeType
Definition
deg_node.hh:47
blender::deg::graph_tag_ids_for_visible_update
void graph_tag_ids_for_visible_update(Depsgraph *graph)
Definition
depsgraph_tag.cc:527
blender::deg::id_tag_update
void id_tag_update(Main *bmain, ID *id, uint flags, eUpdateSource update_source)
Definition
depsgraph_tag.cc:650
blender::deg::graph_id_tag_update
void graph_id_tag_update(Main *bmain, Depsgraph *graph, ID *id, uint flags, eUpdateSource update_source)
Definition
depsgraph_tag.cc:688
blender::deg::eUpdateSource
eUpdateSource
Definition
depsgraph_type.hh:31
ID
Definition
DNA_ID.h:414
Main
Definition
BKE_main.hh:160
blender::deg::Depsgraph
Definition
depsgraph.hh:48
Generated on
for Blender by
doxygen
1.16.1