OpenGL.GLUT.freeglut
FreeGLUT extensions to the GLUT API
This module will provide the FreeGLUT extensions if they are available
from the GLUT module. Note that any other implementation that also provides
these entry points will also retrieve the entry points with this module.
Functions
glutBitmapString(
font
,
string
)
glutBitmapString( c_void_p(font), POINTER(c_ubyte)(string) ) -> None
glutGetModeValues(
mode
,
size
)
-> <class 'OpenGL.arrays.arraydatatype.LP_c_int'>
glutInitContextVersion( GLenum(mode), POINTER(GLint)(size) ) -> POINTER(GLint)
glutGetProcAddress(
procName
)
-> <class 'ctypes.c_void_p'>
glutGetProcAddress( STRING(procName) ) -> c_void_p
glutInitContextVersion(
majorVersion
,
minorVersion
)
glutInitContextVersion( GLint(majorVersion), GLint(minorVersion) ) -> None
glutSolidCylinder(
radius
,
height
,
slices
,
stacks
)
glutSolidCylinder( GLdouble(radius), GLdouble(height), GLint(slices), GLint(stacks) ) -> None
glutSolidSierpinskiSponge(
num_levels
,
offset
,
scale
)
glutSolidSierpinskiSponge( c_int(num_levels), arrays.GLdoubleArray(offset), GLdouble(scale) ) -> None
glutStrokeString(
font
,
string
)
glutStrokeString( c_void_p(font), POINTER(c_ubyte)(string) ) -> None
glutWireCylinder(
radius
,
height
,
slices
,
stacks
)
glutWireCylinder( GLdouble(radius), GLdouble(height), GLint(slices), GLint(stacks) ) -> None
glutWireSierpinskiSponge(
num_levels
,
offset
,
scale
)
glutWireSierpinskiSponge( c_int(num_levels), arrays.GLdoubleArray(offset), GLdouble(scale) ) -> None
Constants
GLUT_ACTION_CONTINUE_EXECUTION (2)
GLUT_ACTION_EXIT (0)
GLUT_ACTION_GLUTMAINLOOP_RETURNS (1)
GLUT_ACTION_ON_WINDOW_CLOSE (505)
GLUT_CREATE_NEW_CONTEXT (0)
GLUT_DEBUG (1)
GLUT_FORWARD_COMPATIBLE (2)
GLUT_INIT_FLAGS (514)
GLUT_INIT_MAJOR_VERSION (512)
GLUT_INIT_MINOR_VERSION (513)
GLUT_RENDERING_CONTEXT (509)
GLUT_USE_CURRENT_CONTEXT (1)
GLUT_WINDOW_BORDER_WIDTH (506)
GLUT_USE_CURRENT_CONTEXT (507)