3 ms·
I guess I meant, how difficult is it to have a OpenGL component with relatively arbitrary OpenGL commands issued from Rust. I don't really care if the buttons
by monocasa 9y ago
I guess I meant, how difficult is it to have a OpenGL component with relatively arbitrary OpenGL commands issued from Rust. I don't really care if the buttons are rendered in OpenGL or not, but I need an OpenGL pane inside a normal GUI. Imagine a Rust CAD application with a QT GUI.
QT-3D doesn't really fit my use case unfortunately.
- oever 9y agoRQBG does not generate bindings for that, but you could derive from QOpenGLWidget and write FFI to call into Rust for painting and resizing. Then you'd use Glium to do the painting. You can still use RQBG for the application logic. http://doc.qt.io/qt-5/qopenglwidget.html#context http://doc.qt.io/qt-5/qopenglwidget.html#context https://github.com/glium/glium https://github.com/glium/glium
- monocasa 9y agoWord, thanks!