hadronized / luminance-rs

Type-safe, type-level and stateless Rust graphics framework
https://phaazon.github.io/learn-luminance/
Other
1.09k stars 59 forks source link

Pure OpenGL ES renderer? #594

Open KeyboardDanni opened 2 years ago

KeyboardDanni commented 2 years ago

I'm looking to use luminance to replace an existing renderer in my engine. I currently use SDL2 + emscripten to target the web. The current luminance-webgl backend however uses wasm-bindgen and does its own "windowing" which doesn't work for my purposes. A pure OpenGL ES renderer is needed here so that I can use it with emscripten. This would also enable use of luminance on mobile platforms in the future as well.

hadronized commented 2 years ago

It is planned, yes. I need to cleanup a bunch of things and write some documents so that everything is clear but yes, I want an OpenGL ES backend.

However, your point about the windowing thing is of a different matter, and might require an update as well. I don’t think it does its own windowing thing (I typically do that in Javascript, see the web example).