Skip to content

Engine → Bindings

bindings_subsystem.h

Startup step 16: the subsystem that fills the bindings-owned native entries before scripting's post_startup runs the handshake, wraps the table in counting thunks outside Distribution, owns the asset residency scripts request through asset_load / asset_release and clears it when a scene unloads. The executables add it with application.add_subsystem(std::make_unique<scripting_bindings_subsystem>()) before initialise().

Classes

File Description
script_residency The asset handles scripts hold through asset_load, keyed by uuid. Repeat holds of one uuid are no-ops; release drops the handle (the slot stays). Main thread only.
scripting_bindings_subsystem