Blender  V3.3
Namespaces | Functions | Variables
depsgraph_update.cc File Reference
#include "intern/depsgraph_update.h"
#include "DEG_depsgraph.h"
#include "intern/depsgraph_type.h"

Go to the source code of this file.

Namespaces

 blender
 
 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 37 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().