Blender V5.0
depsgraph_update.cc File Reference

Go to the source code of this file.

Namespaces

namespace  blender
namespace  blender::deg

Functions

void blender::deg::deg_editors_id_update (const DEGEditorUpdateContext *update_ctx, ID *id)
void blender::deg::deg_editors_scene_update (const DEGEditorUpdateContext *update_ctx, bool updated)
void DEG_editors_set_update_cb (DEG_EditorUpdateIDCb id_func, DEG_EditorUpdateSceneCb scene_func)

Variables

static DEG_EditorUpdateIDCb blender::deg::deg_editor_update_id_cb = nullptr
static DEG_EditorUpdateSceneCb blender::deg::deg_editor_update_scene_cb = nullptr

Function Documentation

◆ DEG_editors_set_update_cb()

void DEG_editors_set_update_cb ( DEG_EditorUpdateIDCb id_func,
DEG_EditorUpdateSceneCb scene_func )

Set callbacks which are being called when depsgraph changes.

Definition at line 36 of file depsgraph_update.cc.

References blender::deg::deg_editor_update_id_cb, and blender::deg::deg_editor_update_scene_cb.

Referenced by WM_init().