Can anyone explain how to use glMultiTexCoord() in comparison with glTexCoordPointer()?
+1
A:
The size
argument to glTexCoordPointer()
corresponds to the suffix number of the glMultiTexCoord()
function.
So a bunch of calls to e.g. glMultiTexCoord3fv()
would be replaced by a single call to glTexCoordPointer(3, GL_FLOAT, ...)
.
Here, the 3 is from the suffix '3
' (size specifier), and the GL_FLOAT
is from the suffix 'f
' (type specifier).
unwind
2009-10-06 14:30:56