![]() |
Lysa Nodes
0.0
Lysa Nodes — Scene Graph for the Lysa Engine
|
The Lysa engine and the Lysa Nodes library are both integrated as CMake subdirectories. The engine must be added before the nodes library because lysa_nodes depends on lysa_engine:
Several feature flags can be set before the add_subdirectory call to control which engine subsystems are compiled:
| Variable | Default | Effect |
|---|---|---|
LUA_BINDING | OFF | Lua scripting bindings |
FORWARD_RENDERER | ON | Forward rendering pipeline |
DEFERRED_RENDERER | ON | Deferred rendering pipeline |
PHYSIC_ENGINE_JOLT | OFF | Jolt physics backend |
PHYSIC_ENGINE_PHYSX | OFF | PhysX physics backend |
DIRECTX_BACKEND | ON (Windows only) | DirectX 12 backend |
Engine shaders are copied from the engine build directory into the project's shaders/ folder by the shaders_copy custom target, exactly as in the basic tutorial.
The build_target helper function now links against both lysa_nodes and lysa_engine. Because lysa_nodes is a CMake library target that already propagates lysa_engine as a dependency, explicitly listing lysa_engine is redundant but harmless:
With Lysa Nodes the project source list shrinks from five files to two:
Next : Engine context