@graphty/graphty-element / extend / registerAccelerator
Function: registerAccelerator() ​
registerAccelerator(
registration,options?):void
Defined in: graphty-element/src/acceleration/registry.ts:200
Registers an accelerator factory with the default registry.
This is what an entry point or a plugin calls. A consumer never calls it to switch WebGPU on: that is one import, and the import calls this.
Parameters ​
registration ​
The name, the backend and the factory.
options? ​
Whether a collision throws instead of replacing.
Returns ​
void