João Silva
João Silva

Reputation: 413

How to use Vertex Buffer Objects

Imagine I want to draw a pyramid made of triangles.

-Should I create a VBO for each triangle or one containing all triangles?

Upvotes: 1

Views: 156

Answers (1)

Ben Voigt
Ben Voigt

Reputation: 283803

Selecting a VBO into a context is a rather expensive state change, so using fewer VBOs is definitely advantageous.

Upvotes: 3

Related Questions