ARB_vertex_program and glInterleavedArrays

From reading through the ARB_vertex_program extension documentation it seems like there is no equivalent to glInterleavedArrays for use in specifying generic vertex attributes. Is this correct?

I assume that I could continue to use glInterleavedArrays, but I’m trying to avoid aliasing issues by sticking with the generic attributes.

If I am holding N different attributes in an interleaved array, do I need to make N different calls to VertexAttribPointerARB() that specify the same array with a different stride, type, and offset, or is there a better method?


You are correct – there is no InterleavedArrays support for vertex attribute arrays. You need to call VertexAttribPointerARB once per array.

Note there is no InterleavedArrays support for multi-texture texture coordinates, fog coordinates, and a number of other attributes.

Thanks for confirming that for me, jbrown.

On a different note, does glLockArraysEXT work with EnableVertexAttribArrayARB?