3 ms·
Does this abstraction target WebGL as well? I could imagine it being a nice portability layer for web-aware apps since rust can easily target wasm with a few co
by daniel_rh 8y ago
Does this abstraction target WebGL as well? I could imagine it being a nice portability layer for web-aware apps since rust can easily target wasm with a few compiler flags.
- steveklabnik 8y agoThey currently have support through the emscripten target, and (as far as I know) are working on support for the unknown target.
- grovesNL 8y agoIdeally this should be straightforward by adapting the OpenGL ES backend to perform the equivalent WebGL calls. There have been some initial investigations into this already, and the Emscripten target worked well with an earlier version of gfx. In the future there could be a backend to target WebGPU (https://www.w3.org/community/gpu/ https://www.w3.org/community/gpu/) as well.