OpenGL.GLUT

Modules

The GLUT library implementation via ctypes

Functions

glutAddMenuEntry( label , value )
glutAddMenuEntry( STRING(label), c_int(value) ) -> None
glutAddSubMenu( label , subMenu )
glutAddSubMenu( STRING(label), c_int(subMenu) ) -> None
glutAttachMenu( button )
glutAttachMenu( c_int(button) ) -> None
glutBitmapCharacter( font , character )
glutBitmapCharacter( c_void_p(font), c_int(character) ) -> None
glutBitmapLength( font , string ) -> <class 'ctypes.c_int'>
glutBitmapLength( c_void_p(font), POINTER(c_ubyte)(string) ) -> c_int
glutBitmapWidth( font , character ) -> <class 'ctypes.c_int'>
glutBitmapWidth( c_void_p(font), c_int(character) ) -> c_int
glutChangeToMenuEntry( item , label , value )
glutChangeToMenuEntry( c_int(item), STRING(label), c_int(value) ) -> None
glutChangeToSubMenu( item , label , value )
glutChangeToSubMenu( c_int(item), STRING(label), c_int(value) ) -> None
glutCopyColormap( window )
glutCopyColormap( c_int(window) ) -> None
glutCreateSubWindow( window , x , y , width , height ) -> <class 'ctypes.c_int'>
glutCreateSubWindow( c_int(window), c_int(x), c_int(y), c_int(width), c_int(height) ) -> c_int
glutCreateWindow( title ) -> <class 'ctypes.c_int'>
glutCreateWindow( STRING(title) ) -> c_int
glutDetachMenu( button )
glutDetachMenu( c_int(button) ) -> None
glutDeviceGet( query ) -> <class 'ctypes.c_int'>
glutDeviceGet( GLenum(query) ) -> c_int
glutEnterGameMode( ) -> <class 'ctypes.c_int'>
glutEnterGameMode( ) -> c_int
glutEstablishOverlay( )
glutEstablishOverlay( ) -> None
glutExtensionSupported( extension ) -> <class 'ctypes.c_int'>
glutExtensionSupported( STRING(extension) ) -> c_int
glutForceJoystickFunc( )
glutForceJoystickFunc( ) -> None
glutFullScreen( )
glutFullScreen( ) -> None
glutGameModeGet( query ) -> <class 'ctypes.c_int'>
glutGameModeGet( GLenum(query) ) -> c_int
glutGameModeString( string )
glutGameModeString( STRING(string) ) -> None
glutGet( query ) -> <class 'ctypes.c_int'>
glutGet( GLenum(query) ) -> c_int
glutGetColor( color , component ) -> <class 'ctypes.c_float'>
glutGetColor( c_int(color), c_int(component) ) -> GLfloat
glutGetMenu( ) -> <class 'ctypes.c_int'>
glutGetMenu( ) -> c_int
glutGetModifiers( ) -> <class 'ctypes.c_int'>
glutGetModifiers( ) -> c_int
glutGetWindow( ) -> <class 'ctypes.c_int'>
glutGetWindow( ) -> c_int
glutHideOverlay( )
glutHideOverlay( ) -> None
glutHideWindow( )
glutHideWindow( ) -> None
glutIconifyWindow( )
glutIconifyWindow( ) -> None
glutIgnoreKeyRepeat( ignore )
glutIgnoreKeyRepeat( c_int(ignore) ) -> None
glutInitDisplayMode( displayMode )
glutInitDisplayMode( c_uint(displayMode) ) -> None
glutInitDisplayString( displayMode )
glutInitDisplayString( STRING(displayMode) ) -> None
glutInitWindowPosition( x , y )
glutInitWindowPosition( c_int(x), c_int(y) ) -> None
glutInitWindowSize( width , height )
glutInitWindowSize( c_int(width), c_int(height) ) -> None
glutLayerGet( query ) -> <class 'ctypes.c_int'>
glutLayerGet( GLenum(query) ) -> c_int
glutLeaveGameMode( )
glutLeaveGameMode( ) -> None
glutMainLoop( )
glutMainLoop( ) -> None
glutPopWindow( )
glutPopWindow( ) -> None
glutPositionWindow( x , y )
glutPositionWindow( c_int(x), c_int(y) ) -> None
glutPostOverlayRedisplay( )
glutPostOverlayRedisplay( ) -> None
glutPostRedisplay( )
glutPostRedisplay( ) -> None
glutPostWindowOverlayRedisplay( window )
glutPostWindowOverlayRedisplay( c_int(window) ) -> None
glutPostWindowRedisplay( window )
glutPostWindowRedisplay( c_int(window) ) -> None
glutPushWindow( )
glutPushWindow( ) -> None
glutRemoveMenuItem( item )
glutRemoveMenuItem( c_int(item) ) -> None
glutRemoveOverlay( )
glutRemoveOverlay( ) -> None
glutReportErrors( )
glutReportErrors( ) -> None
glutReshapeWindow( width , height )
glutReshapeWindow( c_int(width), c_int(height) ) -> None
glutSetColor( color , red , green , blue )
glutSetColor( c_int(color), GLfloat(red), GLfloat(green), GLfloat(blue) ) -> None
glutSetCursor( cursor )
glutSetCursor( c_int(cursor) ) -> None
glutSetIconTitle( title )
glutSetIconTitle( STRING(title) ) -> None
glutSetKeyRepeat( repeatMode )
glutSetKeyRepeat( c_int(repeatMode) ) -> None
glutSetMenu( menu )
glutSetMenu( c_int(menu) ) -> None
glutSetWindow( window )
glutSetWindow( c_int(window) ) -> None
glutSetWindowTitle( title )
glutSetWindowTitle( STRING(title) ) -> None
glutShowOverlay( )
glutShowOverlay( ) -> None
glutShowWindow( )
glutShowWindow( ) -> None
glutSolidCone( base , height , slices , stacks )
glutSolidCone( GLdouble(base), GLdouble(height), GLint(slices), GLint(stacks) ) -> None
glutSolidCube( size )
glutSolidCube( GLdouble(size) ) -> None
glutSolidDodecahedron( )
glutSolidDodecahedron( ) -> None
glutSolidIcosahedron( )
glutSolidIcosahedron( ) -> None
glutSolidOctahedron( )
glutSolidOctahedron( ) -> None
glutSolidSphere( radius , slices , stacks )
glutSolidSphere( GLdouble(radius), GLint(slices), GLint(stacks) ) -> None
glutSolidTeapot( size )
glutSolidTeapot( GLdouble(size) ) -> None
glutSolidTetrahedron( )
glutSolidTetrahedron( ) -> None
glutSolidTorus( innerRadius , outerRadius , sides , rings )
glutSolidTorus( GLdouble(innerRadius), GLdouble(outerRadius), GLint(sides), GLint(rings) ) -> None
glutStrokeCharacter( font , character )
glutStrokeCharacter( c_void_p(font), c_int(character) ) -> None
glutStrokeLength( font , string ) -> <class 'ctypes.c_int'>
glutStrokeLength( c_void_p(font), POINTER(c_ubyte)(string) ) -> c_int
glutStrokeWidth( font , character ) -> <class 'ctypes.c_int'>
glutStrokeWidth( c_void_p(font), c_int(character) ) -> c_int
glutSwapBuffers( )
glutSwapBuffers( ) -> None
glutUseLayer( layer )
glutUseLayer( GLenum(layer) ) -> None
glutVideoResizeGet( query ) -> <class 'ctypes.c_int'>
glutVideoResizeGet( GLenum(query) ) -> c_int
glutWarpPointer( x , y )
glutWarpPointer( c_int(x), c_int(y) ) -> None
glutWireCone( base , height , slices , stacks )
glutWireCone( GLdouble(base), GLdouble(height), GLint(slices), GLint(stacks) ) -> None
glutWireCube( size )
glutWireCube( GLdouble(size) ) -> None
glutWireDodecahedron( )
glutWireDodecahedron( ) -> None
glutWireIcosahedron( )
glutWireIcosahedron( ) -> None
glutWireOctahedron( )
glutWireOctahedron( ) -> None
glutWireSphere( radius , slices , stacks )
glutWireSphere( GLdouble(radius), GLint(slices), GLint(stacks) ) -> None
glutWireTeapot( size )
glutWireTeapot( GLdouble(size) ) -> None
glutWireTetrahedron( )
glutWireTetrahedron( ) -> None
glutWireTorus( innerRadius , outerRadius , sides , rings )
glutWireTorus( GLdouble(innerRadius), GLdouble(outerRadius), GLint(sides), GLint(rings) ) -> None