Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/qt/6.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

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/opengl/4.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
Glgenvertexarray&;Qt 5.1中的GLBindVertexArray?_Qt_Opengl - Fatal编程技术网

Glgenvertexarray&;Qt 5.1中的GLBindVertexArray?

Glgenvertexarray&;Qt 5.1中的GLBindVertexArray?,qt,opengl,Qt,Opengl,我使用的是Qt5.1,我找不到这些函数,我试着看看这里 它们没有出现在列表中,或者它们不存在于Qt中?您可能对阅读感兴趣 它解释了如何使用Qt5.1设置OpenGL,最著名的是在第2部分,如何使用顶点数组对象。您必须使用“面向对象”包装类创建它们,而不是调用原始的C风格OpenGL函数;博士 不要从QOpenGLFunctions继承,请继承版本3或更高版本。如果您同时遵循,则使用QOpenGLFunctions\u 3\u Core 说明: “QOpenGLFunctions类提供对Open

我使用的是Qt5.1,我找不到这些函数,我试着看看这里


它们没有出现在列表中,或者它们不存在于Qt中?

您可能对阅读感兴趣

它解释了如何使用Qt5.1设置OpenGL,最著名的是在第2部分,如何使用顶点数组对象。您必须使用“面向对象”包装类创建它们,而不是调用原始的C风格OpenGL函数;博士 不要从
QOpenGLFunctions
继承,请继承版本3或更高版本。如果您同时遵循,则使用
QOpenGLFunctions\u 3\u Core

说明: “QOpenGLFunctions类提供对OpenGL ES 2.0 API的跨平台访问。”
GLGEnVertexArray和GLBindVertexArray仅在版本3中引入。这就是为什么从QopenglFunction继承不会给您提供这些功能。

?您知道如何使用它吗。我试着包含这个标题并做一个实例,但它不起作用。“但它不起作用”我们如何才能帮助您描述这个问题?