开发者

glMultiDrawArrays in QT?

开发者 https://www.devze.com 2023-01-28 17:09 出处:网络
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 conte

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

精彩评论

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

关注公众号