3 ms·
How does it interact with OpenGL? Using C bindings?
by shmerl 12y ago
How does it interact with OpenGL? Using C bindings?
- hornetblack 12y agoIt uses gl-rs. Which auto generates a rust wrapper around the C bindings using a compiler plugin. https://github.com/bjz/gl-rs https://github.com/bjz/gl-rs
- shmerl 12y agoThanks for the pointer!
- bjz_ 12y agoWe have a syntax extension that uses kronos' xml registry (https://www.opengl.org/registry/#specfiles https://www.opengl.org/registry/#specfiles) to generate symbol a loader (somewhat like GLEW) at compile time. https://github.com/bjz/gl-rs https://github.com/bjz/gl-rs
- shmerl 12y agoThanks for the pointer!