PDA

View Full Version : How to define vertexBuffer and IndexBuffer ?



beachboy1976
03-21-2002, 11:48 AM
Hi,
I tried to replace some code which was created in DirectX.
They were using CreateVertexBuffer and CreateIndexBuffer to create buffers. I was wondering if there is any way I can implement this in OpenGL. So I can create buffer to do the same thing.
Thank you for help

Lev
03-21-2002, 12:41 PM
The keywors is vertex arrays. Try searching the web or read the Red Book's part about vertex arrays.

-Lev