Max size for Vertex Buffer Objects (OpenGL ES 2.0)

后端 未结 3 1906
礼貌的吻别
礼貌的吻别 2021-02-08 01:55

Is there a max size for vertex buffer objects binded to GL_ARRAY_BUFFER or GL_ELEMENT_ARRAY_BUFFER???

Originally, I was drawing a mesh composed of 16 submeshes. For each

相关标签:
3条回答
  • 2021-02-08 02:26

    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

    0 讨论(0)
  • 2021-02-08 02:35

    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.

    0 讨论(0)
  • 2021-02-08 02:38

    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.

    0 讨论(0)
提交回复
热议问题