Cost of calling glBindBuffer

This topic contains 2 replies, has 2 voices, and was last updated by  RichardUK 8 years, 5 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #29843

    RichardUK
    Member

    Does it just set an internal variable to the passed buffer or does it have to do much more?

    #33194

    Xmas
    Member

    Every GL call does slightly more, i.e. first getting a reference to the context that is current to the thread, then some error checking based on the arguments. But apart from that, glBindBuffer should have a small cost.

    #33195

    RichardUK
    Member

    Is this different for index buffers? As it seems for this all you have to do is bind it.

Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.