Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/cplusplus/147.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C++ 带有QopenglFunction的glBlitFramebuffer_C++_Qt_Opengl_Qt5 - Fatal编程技术网

C++ 带有QopenglFunction的glBlitFramebuffer

C++ 带有QopenglFunction的glBlitFramebuffer,c++,qt,opengl,qt5,C++,Qt,Opengl,Qt5,我正在学习将OpenGL与Qt5结合使用。 我不认为glBlitFramebuffer是该类或全局命名空间中的成员 我是否必须检查扩展并手动获取程序地址,或者我只是错过了它 如果不支持,是否有好的实现可用?继承自QOpenGLFunctions\u 3\u 0,并调用InitializePenglFunctions() 如果调用InitializePenglFunctions()失败,可能需要如下设置版本: QGLFormat glf = QGLFormat::defaultFormat();

我正在学习将OpenGL与Qt5结合使用。 我不认为glBlitFramebuffer是该类或全局命名空间中的成员

我是否必须检查扩展并手动获取程序地址,或者我只是错过了它


如果不支持,是否有好的实现可用?

继承自QOpenGLFunctions\u 3\u 0,并调用InitializePenglFunctions()

如果调用InitializePenglFunctions()失败,可能需要如下设置版本:

QGLFormat glf = QGLFormat::defaultFormat();
glf.setVersion(3,0);
QGLFormat::setDefaultFormat(glf);

QOpenGLFunctions\u 3\u 0继承,并调用InitializePenglFunctions()

如果调用InitializePenglFunctions()失败,可能需要如下设置版本:

QGLFormat glf = QGLFormat::defaultFormat();
glf.setVersion(3,0);
QGLFormat::setDefaultFormat(glf);