C language function:glColorPointer sample codes

Search sample code in the internet.It is the result.


TITLE : Performance tips for Cocos2d for iPhone - All-Seeing Interactive
glColorPointer(4, GL_UNSIGNED_BYTE, kQuadSize, (void*)(offset + diff));.......
http://allseeing-i.com/Performance-tips-for-Cocos2d-for-iPhone


TITLE : Particle Simulations in OpenCL
glColorPointer(4, GL_FLOAT, 0, 0);.......
http://andrewfsu.blogspot.com/
TITLE : samples/ApiDemos/src/com/example/android/apis/os/RotationVectorDemo.java - platform/development - Git at Google
gl.glColorPointer(4, GL10.GL_FLOAT, 0, mColorBuffer);.......
http://android.googlesource.com/platform/development/+/master/samples/ApiDemos/src/com/example/android/apis/os/RotationVectorDemo.java
TITLE : : Recipe Drawing a Spinning Cube with OpenGL ES (Recipe 1529, Revision 4439) | Android Tutorial
gl.glColorPointer(4, GL10.GL_FLOAT, 0, mColorBuffer);.......
http://androidcookbook.com/Recipe.seam@recipeId=1529
TITLE : OpenGL ES Tutorial for Android Part IV - Adding colors - Jayway
gl.glColorPointer(4, GL10.GL_FLOAT, 0, colorBuffer); // NEW LINE ADDED........
http://blog.jayway.com/2010/01/14/opengl-es-tutorial-for-android-part-iv-adding-colors/
TITLE : ASGP's Android Port Part III: from OpenGL Direct Mode to GLES - Stuffomatic
* glColorPointer() to provide the colors of the shape,.......
http://blog.stuff-o-matic.com/post/2013/10/08/ASGP-s-Android-Port-Part-III%3A-from-OpenGL-Direct-Mode-to-GLES

void glColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);.......
http://cse.csusb.edu/tongyu/courses/cs420/notes/varray.php
search Google

https://www.google.com/#q=glColorPointer