Hi, I'm new to OpenGL and I have a question about the diference of glBufferData and glVertexPointer.
I'm reading a book that says that to use VBO I need to create a buffer, bind it, store data, render and delete.
My problem is on the store part...
For what i understood, the glBufferData() fills the buffer with the data parameter, correct me if I'm wrong.
After that I saw this glVertexPointer, which seems to do the same thing.
I don't know if I missed somthing here or not, but I still didn't get it.
I'm doing a paper about OpenGL using VBO and to continue I need this solved,
Thank you for the help!