|
Blender V4.3
|
#include "MEM_guardedalloc.h"#include "BLI_listbase.h"#include "BLI_utildefines.h"#include "BKE_scene.hh"#include "DNA_object_types.h"#include "DNA_scene_types.h"#include "DEG_depsgraph.hh"#include "DEG_depsgraph_query.hh"#include "DEG_depsgraph_writeback_sync.hh"#include "intern/eval/deg_eval.h"#include "intern/eval/deg_eval_flush.h"#include "intern/node/deg_node.hh"#include "intern/node/deg_node_operation.hh"#include "intern/node/deg_node_time.hh"#include "intern/depsgraph.hh"#include "intern/depsgraph_tag.hh"Go to the source code of this file.
Functions | |
| static void | deg_flush_updates_and_refresh (deg::Depsgraph *deg_graph, const DepsgraphEvaluateSyncWriteback sync_writeback) |
| void | DEG_evaluate_on_refresh (Depsgraph *graph, const DepsgraphEvaluateSyncWriteback sync_writeback) |
| void | DEG_evaluate_on_framechange (Depsgraph *graph, float frame, const DepsgraphEvaluateSyncWriteback sync_writeback) |
Evaluation engine entry-points for Depsgraph Engine.
Definition in file depsgraph_eval.cc.
| void DEG_evaluate_on_framechange | ( | Depsgraph * | graph, |
| float | frame, | ||
| DepsgraphEvaluateSyncWriteback | sync_writeback = DEG_EVALUATE_SYNC_WRITEBACK_NO ) |
Frame changed recalculation entry point.
Definition at line 83 of file depsgraph_eval.cc.
References BKE_scene_frame_to_ctime(), blender::deg::Depsgraph::ctime, deg_flush_updates_and_refresh(), DEG_get_input_scene(), blender::deg::Depsgraph::frame, graph, and blender::deg::Depsgraph::tag_time_source().
Referenced by BKE_scene_graph_update_for_newframe_ex(), engine_depsgraph_init(), render_update_depsgraph(), blender::eevee::LightBake::run(), and seq_prefetch_update_depsgraph().
| void DEG_evaluate_on_refresh | ( | Depsgraph * | graph, |
| DepsgraphEvaluateSyncWriteback | sync_writeback = DEG_EVALUATE_SYNC_WRITEBACK_NO ) |
Data changed recalculation entry point. Evaluate all nodes tagged for updating.
Definition at line 59 of file depsgraph_eval.cc.
References BKE_scene_ctime_get(), BKE_scene_frame_get(), blender::deg::Depsgraph::ctime, deg_flush_updates_and_refresh(), DEG_get_input_scene(), blender::deg::Depsgraph::frame, graph, ID_RECALC_FRAME_CHANGE, and blender::deg::Depsgraph::tag_time_source().
Referenced by action_preview_render_prepare(), BKE_scene_graph_update_for_newframe_ex(), blender::ed::geometry::build_extra_depsgraph(), blender::ed::space_node::compo_initjob(), blender::ed::object::modifier_apply(), object_preview_scene_create(), and scene_graph_update_tagged().
|
static |
Definition at line 37 of file depsgraph_eval.cc.
References BKE_scene_frame_set(), blender::Vector< T, InlineBufferCapacity, Allocator >::clear(), blender::deg::deg_evaluate_on_refresh(), DEG_EVALUATE_SYNC_WRITEBACK_YES, blender::deg::deg_graph_flush_updates(), blender::deg::Depsgraph::frame, blender::deg::graph_tag_ids_for_visible_update(), blender::deg::Depsgraph::is_active, blender::deg::Depsgraph::scene_cow, and blender::deg::Depsgraph::sync_writeback_callbacks.
Referenced by DEG_evaluate_on_framechange(), and DEG_evaluate_on_refresh().