Changeset View
Changeset View
Standalone View
Standalone View
source/blender/depsgraph/intern/depsgraph.h
| Show First 20 Lines • Show All 67 Lines • ▼ Show 20 Lines | struct Depsgraph { | ||||
| TimeSourceNode *add_time_source(); | TimeSourceNode *add_time_source(); | ||||
| TimeSourceNode *find_time_source() const; | TimeSourceNode *find_time_source() const; | ||||
| void tag_time_source(); | void tag_time_source(); | ||||
| IDNode *find_id_node(const ID *id) const; | IDNode *find_id_node(const ID *id) const; | ||||
| IDNode *add_id_node(ID *id, ID *id_cow_hint = nullptr); | IDNode *add_id_node(ID *id, ID *id_cow_hint = nullptr); | ||||
| void clear_id_nodes(); | void clear_id_nodes(); | ||||
| void clear_id_nodes_conditional(const std::function<bool(ID_Type id_type)> &filter); | |||||
| /* Add new relationship between two nodes. */ | /* Add new relationship between two nodes. */ | ||||
| Relation *add_new_relation(Node *from, Node *to, const char *description, int flags = 0); | Relation *add_new_relation(Node *from, Node *to, const char *description, int flags = 0); | ||||
| /* Check whether two nodes are connected by relation with given | /* Check whether two nodes are connected by relation with given | ||||
| * description. Description might be nullptr to check ANY relation between | * description. Description might be nullptr to check ANY relation between | ||||
| * given nodes. */ | * given nodes. */ | ||||
| Relation *check_nodes_connected(const Node *from, const Node *to, const char *description); | Relation *check_nodes_connected(const Node *from, const Node *to, const char *description); | ||||
| ▲ Show 20 Lines • Show All 91 Lines • Show Last 20 Lines | |||||