glHint

specify implementation-specific hints

Signature

glHint( GLenum ( target ) , GLenum ( mode ) )-> void
glHint( target , mode )

Parameters

VariablesDescription
target
Specifies a symbolic constant indicating the behavior to be controlled. GL_LINE_SMOOTH_HINT , GL_POLYGON_SMOOTH_HINT , GL_TEXTURE_COMPRESSION_HINT , and GL_FRAGMENT_SHADER_DERIVATIVE_HINT are accepted.
mode
Specifies a symbolic constant indicating the desired behavior. GL_FASTEST , GL_NICEST , and GL_DONT_CARE are accepted.

Sample Code References

The 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.

glHint
OpenGLContext tests/shadow_1.py Lines: 89
OpenGL-Demo PyOpenGL-Demo/tom/fog.py Lines: 56
OpenGL-Demo PyOpenGL-Demo/redbook/fog.py Lines: 93
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson41.py Lines: 185, 193
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson19.py Lines: 95, 96
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson13.py Lines: 120
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson45.py Lines: 362
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson12.py Lines: 43
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson16.py Lines: 90
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson26.py Lines: 60
Glinter Widget.py Lines: 652, 654
pyBzEdit pyBzEdit.py Lines: 432
{LGPL} PyMT pymt/ui/window/__init__.py Lines: 18, 306
{LGPL} Pyggel pyggel/view.py Lines: 167, 178
{LGPL} pygl2d pygl2d/window.py Lines: 65
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/Experiments/Spheres.py Lines: 43
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/Experiments/Cubes.py Lines: 66
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/Display3D.py Lines: 138
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/playground/Display3D.py Lines: 147
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Kamaelia/UI/OpenGL/OpenGLDisplay.py Lines: 462, 469
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/Display3D.py Lines: 138
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/playground/Display3D.py Lines: 147
{LGPL or GPL or MPL} Kamaelia Code/Python/Kamaelia/Kamaelia/UI/OpenGL/OpenGLDisplay.py Lines: 462, 469
Gloopy gloopy/view/render.py Lines: 78
Visvis core/baseFigure.py Lines: 843, 844, 846, 847