Blender
V3.3
source
blender
depsgraph
intern
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. */
18
NodeType
geometry_tag_to_component
(
const
ID
*
id
);
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. */
24
void
graph_id_tag_update
(
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. */
29
void
graph_tag_ids_for_visible_update
(
Depsgraph
*
graph
);
30
31
}
// namespace blender::deg
Depsgraph
struct Depsgraph Depsgraph
Definition:
DEG_depsgraph.h:35
graph
Depsgraph * graph
Definition:
deg_builder_cycle.cc:56
deg_node.h
blender::deg
Definition:
deg_builder.cc:40
blender::deg::geometry_tag_to_component
NodeType geometry_tag_to_component(const ID *id)
Definition:
depsgraph_tag.cc:568
blender::deg::id_tag_update
void id_tag_update(Main *bmain, ID *id, int flag, eUpdateSource update_source)
Definition:
depsgraph_tag.cc:617
blender::deg::graph_tag_ids_for_visible_update
void graph_tag_ids_for_visible_update(Depsgraph *graph)
Definition:
depsgraph_tag.cc:503
blender::deg::graph_id_tag_update
void graph_id_tag_update(Main *bmain, Depsgraph *graph, ID *id, int flag, eUpdateSource update_source)
Definition:
depsgraph_tag.cc:629
blender::deg::eUpdateSource
eUpdateSource
Definition:
depsgraph_type.h:61
ID
Definition:
DNA_ID.h:368
Main
Definition:
BKE_main.h:121
NodeType
Definition:
node_type.h:93
Generated on Tue Oct 22 2024 13:18:25 for Blender by
doxygen
1.9.1