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

Node preset / template system for frequently used node configurations (Phase 9). More...

#include <string>
#include <vector>
#include "../third_party/nlohmann/json.hpp"
+ Include dependency graph for NodePresets.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Olympe::NodePreset
 A saved node configuration that can be applied to the active graph. More...
 
class  Olympe::NodePresetManager
 Singleton that stores, serialises, and retrieves NodePreset instances. More...
 

Namespaces

namespace  Olympe
 < Provides AssetID and INVALID_ASSET_ID
 

Detailed Description

Node preset / template system for frequently used node configurations (Phase 9).

Author
Olympe Engine
Date
2026-03-09

NodePresets allows users to save and recall commonly used node configurations. A preset can cover a single node (its type and parameter defaults) or a set of connected nodes (a mini-graph snippet).

NodePresetManager is a Meyers singleton that owns all presets. Presets are serialised to / deserialised from JSON.

No ImGui dependency.

C++14 compliant — no std::optional, structured bindings, std::filesystem.

Definition in file NodePresets.h.