相关疑难解决方法(0)

glVertexAttribPointer和glVertexAttribFormat:有什么区别?

OpenGL的4.3和OpenGL ES 3.1添加若干替代功能用于指定顶点数组:glVertexAttribFormat,glBindVertexBuffers等,但我们已经有了用于指定顶点数组功能.即glVertexAttribPointer.

  1. 为什么要添加与旧版API相同的新API?

  2. 新API如何运作?

opengl opengl-es opengl-4

12
推荐指数
1
解决办法
2480
查看次数

标签 统计

opengl ×1

opengl-4 ×1

opengl-es ×1