These functions are not part of the OpenGL API but are provided to make working with glVertexPointer and similar procedures easier.
Returns #t if v belongs to one of the homogenous vector types which can be used with OpenGL, #f otherwise. These vector types are: u8vector, s8vector, u16vector, s16vector, u32vector, s32vector, f32vector and f64vector.
Determine the OpenGL type of v. This returns a numerical value such as GL_SHORT, GL_FLOAT, etc., which can be passed into glVertexPointer and similar procedures.
Get a C pointer to v.
Get the length of v.
Get the OpenGL type and C pointer of v. This is slightly more efficient than getting them each individually.
|v : gl-vector?|
Get the OpenGL type, C pointer and length of v. This is slightly more efficient than getting them each individually.