Hello,
I am using an instance of QGLWIdget to handle my UI requirements. However, I also need to make calls to specific GL Commands for rendering into UI. The function which has this GL commands is in a seperate helper class(not a QGLWidget) but its been called from PaintGL of my QGLWidget instance. when I execute some GL commands from PaintGL method I could see its rendering. I am not very sure how to share the context between my QGLWidget and the Helper class.
Could you please help me understand how the contexts been shared between QGLWidget and my Helper class, so that I can use the helper classes for different features instead of doing everything inside QGLWIdget.
Thanks in Advance!
Bookmarks