locking vertex arrays

Started by jjones7947, June 14, 2005, 13:57:30

Previous topic - Next topic

jjones7947

I'm using the one-dimensional float arrays coming out of my loader as the my arrays.  It works fine, but now I want to lock them.  The opengl syntax (c++) is not a help because it appears that it works on memory addresses.
The lwjgl method takes only two parameters, first and count.  How does it know which array it is being called on?  
Thanks,
Jim

princec

If you're talking about the EXT_compiled_vertex_array extension - the advice is not to use it any more. glDrawRangeElements is the new preferred way to do it, or not at all.

Cas :)

jjones7947

Thanks,
Was getting that idea from reading the opengl forums
Jim