(
GLint ( size ) , GLenum ( type ) , GLsizei ( stride ) , const GLvoid * ( pointer ))-> void
Parameters Variables Description sizeSpecifies the number of components per color. Must be 3 or 4. The initial value is 4.
typeSpecifies the data type of each color component in the array. Symbolic constants GL_BYTE , GL_UNSIGNED_BYTE , GL_SHORT , GL_UNSIGNED_SHORT , GL_INT , GL_UNSIGNED_INT , GL_FLOAT , and GL_DOUBLE are accepted. The initial value is GL_FLOAT .
strideSpecifies the byte offset between consecutive colors. If
strideis 0, the colors are understood to be tightly packed in the array. The initial value is 0.
pointerSpecifies a pointer to the first component of the first color element in the array. The initial value is 0.
Sample Code ReferencesThe following code samples have been found which appear to reference the functions described here. Take care that the code may be old, broken or not even use PyOpenGL.
glColorPointer
{GPL3} OpenGL-Programmable 04-vbo.pyLines:
117RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4