Changeset View
Changeset View
Standalone View
Standalone View
source/blender/depsgraph/intern/depsgraph_query.cc
| Show First 20 Lines • Show All 55 Lines • ▼ Show 20 Lines | |||||
| } | } | ||||
| struct ViewLayer *DEG_get_input_view_layer(const Depsgraph *graph) | struct ViewLayer *DEG_get_input_view_layer(const Depsgraph *graph) | ||||
| { | { | ||||
| const deg::Depsgraph *deg_graph = reinterpret_cast<const deg::Depsgraph *>(graph); | const deg::Depsgraph *deg_graph = reinterpret_cast<const deg::Depsgraph *>(graph); | ||||
| return deg_graph->view_layer; | return deg_graph->view_layer; | ||||
| } | } | ||||
| struct Main *DEG_get_bmain(const Depsgraph *graph) | |||||
| { | |||||
| const deg::Depsgraph *deg_graph = reinterpret_cast<const deg::Depsgraph *>(graph); | |||||
| return deg_graph->bmain; | |||||
| } | |||||
| eEvaluationMode DEG_get_mode(const Depsgraph *graph) | eEvaluationMode DEG_get_mode(const Depsgraph *graph) | ||||
| { | { | ||||
| const deg::Depsgraph *deg_graph = reinterpret_cast<const deg::Depsgraph *>(graph); | const deg::Depsgraph *deg_graph = reinterpret_cast<const deg::Depsgraph *>(graph); | ||||
| return deg_graph->mode; | return deg_graph->mode; | ||||
| } | } | ||||
| float DEG_get_ctime(const Depsgraph *graph) | float DEG_get_ctime(const Depsgraph *graph) | ||||
| { | { | ||||
| ▲ Show 20 Lines • Show All 253 Lines • Show Last 20 Lines | |||||