gl-rs
gl-rs copied to clipboard
wasm-bindgen & web-sys stack WebGL bindings
First of all, thanks for the effort to maintain gl-rs
!
I've already used gl-rs
with stdweb
and it works great. But now I am developing a project using wasm-bindgen
and web-sys
. I can directly access WebGL
bindings through web-sys
, but I want to use an OpenGL
abstraction make the project portable to other platforms.
With that said, I would like to know: What is the state of gl-rs
with wasm-bindgen
+ web-sys
? I couldn't find any resource on it.
Ahh that would be handy! I hear that the ecosystem is moving to wasm-bindgen
and web-sys
now? I might need some help if somebody was going to support this. Possibly we'd need a new binding generator 🤔.
There already might be another crate out there for webgl on wasm-bindgen
, and if that's the case then maybe we should be directing people to that. Not sure though!
for making a cross-gl program, your best bet is glow