Blender
V2.93
source
blender
depsgraph
intern
depsgraph_tag.h
Go to the documentation of this file.
1
/*
2
* This program is free software; you can redistribute it and/or
3
* modify it under the terms of the GNU General Public License
4
* as published by the Free Software Foundation; either version 2
5
* of the License, or (at your option) any later version.
6
*
7
* This program is distributed in the hope that it will be useful,
8
* but WITHOUT ANY WARRANTY; without even the implied warranty of
9
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10
* GNU General Public License for more details.
11
*
12
* You should have received a copy of the GNU General Public License
13
* along with this program; if not, write to the Free Software Foundation,
14
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15
*
16
* The Original Code is Copyright (C) 2019 Blender Foundation.
17
* All rights reserved.
18
*/
19
24
#include "
intern/node/deg_node.h
"
25
26
struct
ID
;
27
struct
Main
;
28
29
namespace
blender
{
30
namespace
deg
{
31
32
struct
Depsgraph
;
33
34
/* Get type of a node which corresponds to a ID_RECALC_GEOMETRY tag. */
35
NodeType
geometry_tag_to_component
(
const
ID
*
id
);
36
37
/* Tag given ID for an update in all registered dependency graphs. */
38
void
id_tag_update
(
Main
*bmain,
ID
*
id
,
int
flag,
eUpdateSource
update_source);
39
40
/* Tag given ID for an update with in a given dependency graph. */
41
void
graph_id_tag_update
(
42
Main
*bmain,
Depsgraph
*
graph
,
ID
*
id
,
int
flag,
eUpdateSource
update_source);
43
44
}
// namespace deg
45
}
// namespace blender
Depsgraph
struct Depsgraph Depsgraph
Definition:
DEG_depsgraph.h:51
graph
Depsgraph * graph
Definition:
deg_builder_cycle.cc:74
deg_node.h
blender::deg
Definition:
deg_builder.cc:53
blender::deg::geometry_tag_to_component
NodeType geometry_tag_to_component(const ID *id)
Definition:
depsgraph_tag.cc:566
blender::deg::id_tag_update
void id_tag_update(Main *bmain, ID *id, int flag, eUpdateSource update_source)
Definition:
depsgraph_tag.cc:615
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:627
blender::deg::eUpdateSource
eUpdateSource
Definition:
depsgraph_type.h:78
blender
Definition:
BKE_attribute_access.hh:30
ID
Definition:
DNA_ID.h:273
Main
Definition:
BKE_main.h:116
NodeType
Definition:
node_type.h:106
Generated on Tue Jan 31 2023 14:37:24 for Blender by
doxygen
1.9.1