api - what is the opengl current vertex? -
this found in opengl documentation: void glgetvertexattribfv(gluint index, glenum pname, glfloat *params); gl_current_vertex_attrib params returns 4 values represent current value generic vertex attribute specified index. generic vertex attribute 0 unique in has no current state, error generated if index 0. initial value other generic vertex attributes (0,0,0,1). glgetvertexattribdv , glgetvertexattribfv return current attribute values 4 single-precision floating-point values; glgetvertexattribiv reads them floating-point values , converts them 4 integer values; glgetvertexattribiiv , glgetvertexattribiuiv read , return them signed or unsigned integer values, respectively; glgetvertexattribldv reads , returns them 4 double-precision floating-point values. but problem is, have no idea current vertex is. how set current vertex...