API Reference
Provider API
The I3DEngineProvider contract and the default ThreeJSProvider implementation exported by the package.
Provider API
The provider boundary keeps the runtime renderer-agnostic.
Core contract
An I3DEngineProvider can expose:
initialize()getEngine()getName()getBackend()getCapabilities()
Default implementation
ThreeJSProvider is the packaged implementation for three.
Practical rule
- If you only use Three.js, use
ThreeJSProvider. - If you want another backend, implement
I3DEngineProviderand the matchingI3DEngine.