C language function:glPolygonMode sample codes

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


TITLE : Vertex Buffer Objects - Anton's OpenGL 4 Notes
All of my students tried to make a wire-frame rendering mode so I thought I'd point this out here - it's much easier to use the built-in function than to attempt to draw everything with GL_LINES. Call glPolygonMode(GL_FRONT, GL_LINE); before rendering........
http://antongerdelan.net/opengl/vertexbuffers.html


TITLE : Bastiaan's blog
glPolygonMode(GL_FRONT_AND_BACK, GL_FILL);.......
http://bastiaanolij.blogspot.com/
TITLE : OpenGL: Driver crash on drawing just one line a... | Community
glPolygonMode(GL_FRONT_AND_BACK, GL_LINE);.......
http://community.amd.com/thread/202677
TITLE : Test-driving the Mali OpenGL ES Emulator - Graphics & Multimedia blog - Graphics & Multimedia - Arm Community
For instance, what if I wanted to check the geometry of my 3D models with a wireframe view? Well, in desktop OpenGL I could just use glPolygonMode() with GL_LINE as the mode parameter, but in OpenGL ES we donft have this function and so we would have to write a shader........
http://community.arm.com/graphics/b/blog/posts/test-driving-the-mali-opengl-es-emulator

glPolygonMode( GL_FRONT, GL_FILL );.......
http://cse.csusb.edu/tongyu/courses/cs420/notes/drawing.php

glPolygonMode( GL_BACK, GL_FILL );.......
http://cse.csusb.edu/tongyu/courses/cs420/notes/drawing.php

glPolygonMode( GL_FRONT, GL_LINE );.......
http://cse.csusb.edu/tongyu/courses/cs420/notes/drawing.php

glPolygonMode( GL_FRONT, GL_POINT );.......
http://cse.csusb.edu/tongyu/courses/cs420/notes/drawing.php

glPolygonMode( GL_FRONT, GL_FILL );.......
http://cse.csusb.edu/tongyu/courses/cs420/notes/drawing.php

glPolygonMode( GL_FRONT, GL_FILL );.......
http://cse.csusb.edu/tongyu/courses/cs420/notes/drawing.php

glPolygonMode( GL_FRONT, GL_LINE );.......
http://cse.csusb.edu/tongyu/courses/cs420/notes/drawing.php

glPolygonMode( GL_FRONT, GL_POINT );.......
http://cse.csusb.edu/tongyu/courses/cs420/notes/drawing.php
search Google

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