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
The keywors is vertex arrays. Try searching the web or read the Red Book’s part about vertex arrays.