Anyone know how to go about locking an interleaved array? Only tutorials I can find are for locking vertex arrays and they are vague at best.
This is my current rendercode:
glInterleavedArrays(GL_T2F_N3F_V3F, 0, TriangleSurfaceStructUV);
glDrawArrays(GL_TRIANGLES, 0, TriSurfaceCount*3); //render surface *3 points a surface
glInterleavedArrays(GL_T2F_N3F_V3F, 0, QuadSurfaceStructUV);
glDrawArrays(GL_QUADS, 0, QuadSurfaceCount*4); //render surface *4 points a surface
I’d like to lock the array data to see if I can pull more fps but have no idea on how to go about doing it, any help would be greatly appreciated