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: Does VAO contain only one IBO??

Hybrid View

  1. #1
    Junior Member Newbie mkashif's Avatar
    Join Date
    Oct 2013
    Posts
    5

    Does VAO contain only one IBO??

    Salam, Hey Guys,
    I have 3 Array Buffers, position, normals, colors.
    Can i use multiple Index buffers for each of the above array buffers, for example,

    - I have one main VAO => mainVaoHandle
    - VBO 1 => position
    - VBO 2 => Normals
    - VBO 3 => Colors , bind to mainVaoHandle

    can i do this?
    - separate Index buffer for position
    - separate index buffer for normals
    - separate index buffer for colors

    using one mainVaoHandle??

  2. #2
    Advanced Member Frequent Contributor
    Join Date
    Apr 2010
    Posts
    720
    No, and it is not a limitation of using VAOs, OpenGL's indexed drawing commands always use a single index for all active vertex attributes.

  3. #3
    Junior Member Newbie mkashif's Avatar
    Join Date
    Oct 2013
    Posts
    5
    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
  •