2 ms·
I wrote an opinionated WebGL wrapper in Rust/WASM here: https://github.com/dakom/awsm-web https://github.com/dakom/awsm-web The idea is that it does more cache
by dakom 5y ago
I wrote an opinionated WebGL wrapper in Rust/WASM here: https://github.com/dakom/awsm-web https://github.com/dakom/awsm-web
The idea is that it does more cacheing of things like uniform locations and such so you do very fast in-memory lookups in WASM without hitting the JS Api as much.
In the future this will be obsolete since WebGPU has a more optimal API to begin with, and Rust/WASM won't need to go through the JS layer due to "interface types"