开发者

glMultiDrawArrays in QT?

It appears that glMultiDrawArrays is not available by default in QT's Opengl library. Is there anyway I can make it available 开发者_运维技巧in QT ?


Qt is only responsible for creating an OpenGL context, not for providing OpenGL calls.

Try using a loader library like gl3w or GLEW in order to access modern OpenGL features.


There is no such thing as Qt's OpenGL library, OpenGL is handled by your OS, Qt only provides a wrapper for platform-independent OpenGL Context and Window creation.

Whatever that function is available or not depends on your OpenGL drivers, OpenGL headers, etc.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜