webgl-worker
webgl-worker copied to clipboard
Optimize
We should use typed array transfer, but it means transferring the ArrayBuffer + the type.
Another option is to merge arrays and copy/transfer one big one, perhaps including the command indexes too, to avoid any use of JS arrays.