|
Enzo
|
The startup pass that fills the node type table from the node folders on disk. More...
#include <NodeLoader.h>
Static Public Member Functions | |
| static void | loadNodes () |
| Reads every node folder and registers what it finds. | |
| static std::filesystem::path | getNodesDirectory () |
| Returns the directory the node folders live in. | |
The startup pass that fills the node type table from the node folders on disk.
Every node is a folder holding a node.yaml, and the builtin nodes load through the same path an installed one does. Every folder is read up front so the tab menu has every node's label the moment it opens, while a node's shared library only opens once a node from it is loaded.
|
static |
Returns the directory the node folders live in.
|
static |
Reads every node folder and registers what it finds.