@needle-tools/engine
Version:
Needle Engine is a web-based runtime for 3D apps. It runs on your machine for development with great integrations into editors like Unity or Blender - and can be deployed onto any device! It is flexible, extensible and networking and XR are built-in.
11 lines (10 loc) • 509 B
TypeScript
/**
* Initialize all engine subsystems. Called once from the entry point.
*
* Every subsystem (prototype patches, type registrations, loader setup, etc.)
* is wrapped in an explicit init function instead of running at module scope.
* This creates an unbroken call chain from the entry point that bundlers can
* trace, so the package can declare `sideEffects: false` and tree-shake
* correctly — without maintaining a fragile list of side-effect files.
*/
export declare function initEngine(): void;