Function RegisterMaterialPlugin
-
Parameters
- pluginName: string
The plugin name
- factory: PluginMaterialFactory
The factory function which allows to create the plugin
Returns void
- pluginName: string
The plugin name
The factory function which allows to create the plugin
Registers a new material plugin through a factory, or updates it. This makes the plugin available to all materials instantiated after its registration. Register side effects for materialPlugin. Safe to call multiple times; only the first call has an effect.