C language function:glColor3ui sample codes

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


TITLE : QOpenGLFunctions_1_0 Class | Qt GUI 5.9
void glColor3ui(GLuint red, GLuint green, GLuint blue).......
http://doc.qt.io/qt-5/qopenglfunctions-1-0.html


TITLE : QOpenGLFunctions_1_0 Class | Qt GUI 5.9
void QOpenGLFunctions_1_0::glColor3ui(GLuint red, GLuint green, GLuint blue).......
http://doc.qt.io/qt-5/qopenglfunctions-1-0.html
TITLE : glColor : PyOpenGL 3.1.0 GL Man Pages
glColor3ui( GLuint ( red ) , GLuint ( green ) , GLuint ( blue ) )-> void.......
http://pyopengl.sourceforge.net/documentation/manual-3.0/glColor.html
TITLE : glColor : PyOpenGL 3.1.0 GL Man Pages
glColor3ui( red , green , blue ).......
http://pyopengl.sourceforge.net/documentation/manual-3.0/glColor.html
TITLE : Introduction to OpenGL Programming - ppt video online download
glColor3f(GLfloat r, GLfloat g, GLfloat b) sets the drawing color glColor3d(), glColor3ui() can also be used Remember OpenGL is a state machine Once set, the attribute applies to all subsequent defined objects until it is set to some other value glColor3fv() takes a flat array as input.......
http://slideplayer.com/slide/9482262/
TITLE : Chapter 5. OpenGL Reference Pages
void glColor3ui( GLuint red, GLuint green, GLuint blue ).......
http://www.glprogramming.com/blue/ch05.html
TITLE : BlitzMax - test page |
* glColor3ui().......
http://www.graphio.net/@page_id=1111
TITLE : OpenGL FAQ / 11 Color
If the depth value for each component is at least as large as your required color precision, you can specify an exact color for your primitives. Specify the color you want to use into the most significant bits of three unsigned integers and use glColor3ui() to specify the color........
http://www.opengl.org/archives/resources/faq/technical/color.htm
TITLE : OpenGL FAQ / 11 Color
If your color buffer isn't deep enough to accurately represent the color you desire, you'll need a fallback strategy. Trimming off the least significant bits of each color component is an acceptable alternative. Again, use glColor3ui() (or glColor3us(), etc.) to specify the color with your values stored in the most significant bits of each parameter........
http://www.opengl.org/archives/resources/faq/technical/color.htm
TITLE : OpenGL FAQ / 11 Color
If this number is greater than the number of primitives you want to render, there is no problem. You need to use glColor3ui() (or glColor3us(), etc) to specify each color, and store the desired color in the most significant bits of each parameter. You can code a loop to render each primitive in a unique color with the following:.......
http://www.opengl.org/archives/resources/faq/technical/color.htm
TITLE : Open gl
28. Drawing Attributes: Color glColor3f(GLfloat r, GLfloat g, GLfloat b) sets the drawing color glColor3d(), glColor3ui() can also be used Remember OpenGL is a state machine Once set, the attribute applies to all subsequent defined objects until it is set to some other value glColor3fv() takes a flat array as input There are more drawing attributes than color Point size: glPointSize() Line width: glLinewidth() Dash or dotted line: glLineStipple() Polygon pattern: glPolygonStipple() c.......
http://www.slideshare.net/samaram20/open-gl-15913573
search Google

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