API Reference / SourceRegistrar · interface
Interface: SourceRegistrar
A type guard for the surface registerSyntheticSystem needs, so the synthetic module does not import the heavy Engine class.
Methods
registerRender()?
optional registerRender(id, render): unknown;
Parameters
| Parameter | Type |
|---|---|
id | string |
render | SyntheticRender |
Returns
unknown
registerSource()
registerSource(id, source): unknown;
Parameters
| Parameter | Type |
|---|---|
id | string |
source | XyzSource |
Returns
unknown