deargui-vpl/imgui_node_editor_runtime.cpp

16 lines
656 B
C++

//------------------------------------------------------------------------------
// Runtime execution system for node editor
// Executes blocks when their inputs are activated
//------------------------------------------------------------------------------
#include "imgui_node_editor_internal.h"
// Forward declaration - App class from blueprints-example
// We'll use a function pointer approach to avoid including app.h here
namespace {
typedef void (*ExecuteRuntimeCallback)(void* app);
static ExecuteRuntimeCallback s_RuntimeCallback = nullptr;
static void* s_RuntimeApp = nullptr;
}
namespace ed = ax::NodeEditor::Detail;