jeudi 25 août 2016

Storing Vertex Array Objects in std::vector

i am writing a class for making easier the Vertex Array Object, i want to generate Vertex Array Objects in X number and store them in a std::vector.

How i can do that? I do not want to this in a loop, this is will be faster.

glGenVertexArrays(VAONumber, myVector); 

Aucun commentaire:

Enregistrer un commentaire