Changeset View
Changeset View
Standalone View
Standalone View
source/blender/depsgraph/DEG_depsgraph_build.h
| Show First 20 Lines • Show All 46 Lines • ▼ Show 20 Lines | |||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| extern "C" { | extern "C" { | ||||
| #endif | #endif | ||||
| #include "BLI_sys_types.h" | #include "BLI_sys_types.h" | ||||
| /* Graph Building -------------------------------- */ | /* Graph Building -------------------------------- */ | ||||
| /* Build depsgraph for the given scene, and dump results in given | /* Build depsgraph for the given scene, and dump results in given graph container. */ | ||||
| * graph container. | |||||
| */ | |||||
| void DEG_graph_build_from_view_layer(struct Depsgraph *graph, | void DEG_graph_build_from_view_layer(struct Depsgraph *graph, | ||||
| struct Main *bmain, | struct Main *bmain, | ||||
| struct Scene *scene, | struct Scene *scene, | ||||
| struct ViewLayer *view_layer); | struct ViewLayer *view_layer); | ||||
| /* Special version of builder which produces dependency graph suitable for the render pipeline. | |||||
| * It will contain sequencer and compositor (if needed) and all their dependencies. */ | |||||
| void DEG_graph_build_for_render_pipeline(struct Depsgraph *graph, | |||||
| struct Main *bmain, | |||||
| struct Scene *scene, | |||||
| struct ViewLayer *view_layer); | |||||
| /* Tag relations from the given graph for update. */ | /* Tag relations from the given graph for update. */ | ||||
| void DEG_graph_tag_relations_update(struct Depsgraph *graph); | void DEG_graph_tag_relations_update(struct Depsgraph *graph); | ||||
| /* Create or update relations in the specified graph. */ | /* Create or update relations in the specified graph. */ | ||||
| void DEG_graph_relations_update(struct Depsgraph *graph, | void DEG_graph_relations_update(struct Depsgraph *graph, | ||||
| struct Main *bmain, | struct Main *bmain, | ||||
| struct Scene *scene, | struct Scene *scene, | ||||
| struct ViewLayer *view_layer); | struct ViewLayer *view_layer); | ||||
| ▲ Show 20 Lines • Show All 107 Lines • Show Last 20 Lines | |||||