Pop quiz
Q1. Which of the following programming languages is accepted by the QOpenGLShader::compileSourceCode() function?
- C
- C++
- GLSL
Q2. Which virtual function of the QOpenGLWindow class should you implement to perform OpenGL painting?
paintGL()paintEvent()makeCurrent()
Q3. When should you delete the object of your QVulkanWindowRenderer subclass?
- In the destructor of the
QVulkanWindowsubclass - After deleting the
QVulkanInstanceobject - Never