Changeset View
Changeset View
Standalone View
Standalone View
source/blender/depsgraph/DEG_depsgraph.h
| Show First 20 Lines • Show All 121 Lines • ▼ Show 20 Lines | |||||
| void DEG_id_tag_update(struct ID *id, int flag); | void DEG_id_tag_update(struct ID *id, int flag); | ||||
| void DEG_id_tag_update_ex(struct Main *bmain, struct ID *id, int flag); | void DEG_id_tag_update_ex(struct Main *bmain, struct ID *id, int flag); | ||||
| void DEG_graph_id_tag_update(struct Main *bmain, | void DEG_graph_id_tag_update(struct Main *bmain, | ||||
| struct Depsgraph *depsgraph, | struct Depsgraph *depsgraph, | ||||
| struct ID *id, | struct ID *id, | ||||
| int flag); | int flag); | ||||
| /* Tag all dependency graphs when time has changed. */ | |||||
| void DEG_time_tag_update(struct Main *bmain); | |||||
| /* Tag a dependency graph when time has changed. */ | |||||
| void DEG_graph_time_tag_update(struct Depsgraph *depsgraph); | |||||
| /* Mark a particular datablock type as having changing. This does | /* Mark a particular datablock type as having changing. This does | ||||
| * not cause any updates but is used by external render engines to detect if for | * not cause any updates but is used by external render engines to detect if for | ||||
| * example a datablock was removed. */ | * example a datablock was removed. */ | ||||
| void DEG_graph_id_type_tag(struct Depsgraph *depsgraph, short id_type); | void DEG_graph_id_type_tag(struct Depsgraph *depsgraph, short id_type); | ||||
| void DEG_id_type_tag(struct Main *bmain, short id_type); | void DEG_id_type_tag(struct Main *bmain, short id_type); | ||||
| void DEG_ids_clear_recalc(struct Main *bmain, Depsgraph *depsgraph); | void DEG_ids_clear_recalc(struct Main *bmain, Depsgraph *depsgraph); | ||||
| Show All 12 Lines | |||||
| /* Graph Evaluation ----------------------------- */ | /* Graph Evaluation ----------------------------- */ | ||||
| /* Frame changed recalculation entry point. */ | /* Frame changed recalculation entry point. */ | ||||
| void DEG_evaluate_on_framechange(Depsgraph *graph, float ctime); | void DEG_evaluate_on_framechange(Depsgraph *graph, float ctime); | ||||
| /* Data changed recalculation entry point. */ | /* Data changed recalculation entry point. */ | ||||
| void DEG_evaluate_on_refresh(Depsgraph *graph); | void DEG_evaluate_on_refresh(Depsgraph *graph); | ||||
| bool DEG_needs_eval(Depsgraph *graph); | |||||
| /* Editors Integration -------------------------- */ | /* Editors Integration -------------------------- */ | ||||
| /* Mechanism to allow editors to be informed of depsgraph updates, | /* Mechanism to allow editors to be informed of depsgraph updates, | ||||
| * to do their own updates based on changes. | * to do their own updates based on changes. | ||||
| */ | */ | ||||
| typedef struct DEGEditorUpdateContext { | typedef struct DEGEditorUpdateContext { | ||||
| struct Main *bmain; | struct Main *bmain; | ||||
| ▲ Show 20 Lines • Show All 62 Lines • Show Last 20 Lines | |||||