Max size for Vertex Buffer Objects (OpenGL ES 2.0)

ε祈祈猫儿з 提交于 2019-12-03 07:12:22

There is a maximum size, in the sense that the GPU can always issue a GL_OUT_OF_MEMORY error. But other than that, no.

See this:

http://www.sunsetlakesoftware.com/2008/08/05/lessons-molecules-opengl-es

There are some natural limits using smaller data types, like obviously ~65000 for using shorts as indexes.

But more importantly there is some additional help in the link, which is a very good tutorial, and includes some anecdotal evidence that shorts up to the natural functional limit work.

Nai

I know it is too late to answer this question. However, I wish the answer helps someone!

Based on The Specification of OpenG Graphics System (Version 4.5 (Core Profile) - May 28, 2015), it states: "There is no limit to the number of vertices that may be specified, other than the size of the vertex arrays." please see page 322.

Sorry, also as Nicol Bolas mention here: https://stackoverflow.com/a/7369392/4228827

Cheers, Naif

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!