Attribute | + *Formats | + *Recommended | + *
---|---|---|
Vertex position | + *"v[234][sifd]" | + *"v[234]f" | + *
Color | + *"c[34][bBsSiIfd]" | + *"c[34]B" | + *
Edge flag | + *"e1[bB]" | + *+ * |
Fog coordinate | + *"f[1234][bBsSiIfd]" | + *+ * |
Normal | + *"n3[bsifd]" | + *"n3f" | + *
Secondary color | + *"s[34][bBsSiIfd]" | + *"s[34]B" | + *
Texture coordinate | + *"t[234][sifd]" | + *"t[234]f" | + *
Generic attribute | + *"[0-15]g(n)?[1234][bBsSiIfd]" | + *+ * |
Format | + *Type | + *GL Type | + *
---|---|---|
"b" | + *Signed byte | + *GL_BYTE | + *
"B" | + *Unsigned byte | + *GL_UNSIGNED_BYTE | + *
"s" | + *Signed short | + *GL_SHORT | + *
"S" | + *Unsigned short | + *GL_UNSIGNED_SHORT | + *
"i" | + *Signed int | + *GL_INT | + *
"I" | + *Unsigned int | + *GL_UNSIGNED_INT | + *
"f" | + *Float | + *GL_FLOAT | + *
"d" | + *Double | + *GL_DOUBLE T | + *