Multithreading (OffscreenCanvas) with events and other user input

I’m currently working on making one of my projects, Blankstorm, multithreaded.

How can we trigger user input (e.g. camera control) in the worker from the main thread?

cc @PolygonalSun

1 Like

This thread will show you the code to do event transfer: Support for offscreen canvas - Announcements - Babylon.js (babylonjs.com)

4 Likes

Thanks!