3 ms·
Can we transfer the result of the WebGPU compute onto a WebGL context to display on canvas afterwards ? So that intermediary computations are fast but we can st
by ttoinou 5y ago
Can we transfer the result of the WebGPU compute onto a WebGL context to display on canvas afterwards ? So that intermediary computations are fast but we can still use it to display something in WebGL like before
- tominated 5y agoIf you have WebGPU compute support available, you'd probably wanna go straight to using WebGPU instead of WebGL for rendering too. But I don't see why it wouldn't be possible to use the result in WebGL afterwards - there's probably going to be a bit of data conversion involved though
- modeless 5y agoWebGPU can display things on canvases by itself. You don't need WebGL. It is significantly more flexible than WebGL because a single context can present to multiple canvases.