How qquickview share context with opengl?
tkam1421 last edited by aha_1980
I am new to qt and as per my knowledge opengl needs an active context to render its scenes and i have read that we can use qquickview to render opengl scenes using beforeRendering() or afterRendering() signal. I want to know why we require these signals can't we directly render without them and what's happening behind the scene?
Hi and welcome to devnet,
Please take a look at the Qt Quick Scene Graph chapter of Qt's documentation. You have there the explanation on how it's working and what you can use these signals for.
There's also the Scene Graph - OpenGL Under QML example that shows how to use
Hope it helps