Hi,
I currently execute my code in a Web Worker and does not yield the context back to the browser because everything happens in a while loop. As such, I need to pass the OffScreen Canvas back to the main thread for rendering.
Here are my questions:
- Will WebGPU support the OffScreenCanvas API?
- Can we have an API to support rendering from a Worker even if the context is not yielded back to the Worker?