Skip to content

EngineApi

EngineApi = NativeEngineApi & Partial<NativeHeap>

Defined in: ecs/engineApi.ts:32

The engine surface a plugin may call, from either core: the entry points plus the heap they marshal bulk data through. A wasm module answers both by construction; a native host answers the heap from its arena (see nativeHeap.ts), so a plugin that writes a tile array and passes an offset works on both.