Raven Engine v0.1
A modern 3D Game Engine
Loading...
Searching...
No Matches
Raven::Ignite Class Reference

Entry point for the Ignite scripting module. More...

#include <Ignite.h>

Static Public Member Functions

static void Init (const std::string &path)
 Loads the script DLL at the given path and registers all script types.
static void Shutdown ()
 Unloads all script modules and clears the type registry.

Detailed Description

Entry point for the Ignite scripting module.

Provides a minimal facade over ScriptRegistry for initialisation and teardown. Call Init once when a project is opened and Shutdown before the engine exits or the project is closed.

Member Function Documentation

◆ Init()

void Raven::Ignite::Init ( const std::string & path)
static

Loads the script DLL at the given path and registers all script types.

Internally delegates to ScriptRegistry::LoadModule. A file watcher is installed so that subsequent builds of the DLL trigger an automatic hot-reload.

Parameters
pathAbsolute path to the compiled script DLL.

◆ Shutdown()

void Raven::Ignite::Shutdown ( )
static

Unloads all script modules and clears the type registry.

Must be called after all ScriptRuntime::OnRuntimeStop calls have completed so that no live script instances remain.


The documentation for this class was generated from the following files: