Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: Where in the 3.3 Core spec can I find this piece of info. on VAO and EBO usage?

  1. #1
    Junior Member Newbie
    Join Date
    Mar 2017
    Posts
    28

    Where in the 3.3 Core spec can I find this piece of info. on VAO and EBO usage?

    The LearnOpenGL's "Hello Triangle" tutorial says this on Vertex Array Objects and Element Buffer Objects (with OpenGL 3.3 Core):

    The element buffer object currently bound while a VAO is bound, is stored as the VAO's element buffer object. Binding to a VAO thus also automatically binds its EBO.
    Where can I find this in the OpenGL 3.3 Core Profile spec? I assume I'd only find the information there. I'd like to make a note of it in the spec, and it'd help me understand the spec better. I tried looking at "2.10 Vertex Array Objects", but I didn't find anything similar to the above quote. Though I may have missed something there.

  2. #2
    Senior Member OpenGL Guru
    Join Date
    Jun 2013
    Posts
    2,402
    Near the top of p50, 2.10 says:
    The resulting vertex array object is a new state vector, comprising all the state values listed in tables 6.4 and 6.5
    Table 6.5. "Vertex Array Object State (cont.)" on p281 includes ELEMENT_ARRAY_BUFFER_BINDING.

  3. #3
    Junior Member Newbie
    Join Date
    Mar 2017
    Posts
    28
    That's some interesting wording, but that was what I was looking for. I'll more more into it. Thanks!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •