Olympe Engine 2.0
2D Game Engine with ECS Architecture
Loading...
Searching...
No Matches
Classes | Namespaces
SharedGraphRenderer.h File Reference

Shared renderer for BlueprintEditor and RuntimeDebugger. More...

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Olympe::NodeGraph::SharedGraphRenderer
 Renderer shared by BlueprintEditor and RuntimeDebugger. More...
 
struct  Olympe::NodeGraph::SharedGraphRenderer::Config
 Rendering configuration knobs. More...
 

Namespaces

namespace  Olympe
 < Provides AssetID and INVALID_ASSET_ID
 
namespace  Olympe::NodeGraph
 

Detailed Description

Shared renderer for BlueprintEditor and RuntimeDebugger.

Author
Olympe Engine
Date
2026-03-08

SharedGraphRenderer encapsulates graph rendering logic that is common to both the BlueprintEditor (edit mode) and the Visual Runtime Debugger (debug mode). It is configured via a Config struct that enables/disables features such as read-only mode and runtime node highlighting.

Usage:

// In BlueprintEditor:
SharedGraphRenderer::Render(doc, ctx,
SharedGraphRenderer::MakeEditorConfig());
// In NodeGraphPanel (Runtime Debugger):
SharedGraphRenderer::Render(doc, ctx,
SharedGraphRenderer::MakeDebuggerConfig(), activeNodeID);
ComponentTypeID GetComponentTypeID_Static()
Definition ECS_Entity.h:56
Note
SharedGraphRenderer is a rendering abstraction layer. When ImNodes is available (BlueprintEditor / NodeGraphPanel context), implementations should call the real ImNodes API. In headless builds (tests, server processes) the render calls are no-ops.

C++14 compliant - no C++17/20 features.

Definition in file SharedGraphRenderer.h.