Vertex Buffer Command

BlitzMax Forums/BlitzMax OpenGL Programming/Vertex Buffer Command

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Has anyone had any luck using the Vertex Buffer Extension, or for that matter.. can you use it in B.Max ??

This is the bit that I dont understand:
GLuint buffer = 0;
glGenBuffersARB(1, &buffer);
glBindBufferARB(GL_ARRAY_BUFFER_ARB, buffer);
glBufferDataARB(GL_ARRAY_BUFFER_ARB, sizeof(data), data, GL_STATIC_DRAW_ARB);

I can see what its doing in C, but using B.Max !?