Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wasm-bindgen & web-sys stack WebGL bindings #506

Open
notdanilo opened this issue Nov 13, 2019 · 3 comments
Open

wasm-bindgen & web-sys stack WebGL bindings #506

notdanilo opened this issue Nov 13, 2019 · 3 comments

Comments

@notdanilo
Copy link

notdanilo commented Nov 13, 2019

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.

@brendanzab
Copy link
Owner

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 🤔.

@brendanzab
Copy link
Owner

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!

@Lokathor
Copy link

for making a cross-gl program, your best bet is glow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants