OpenGL.raw.GLUT

Modules

Raw (C-style) API for OpenGL.GLUT
Automatically generated by the generateraw script, do not edit!

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
glutButtonBoxFunc( callback )
glutButtonBoxFunc( FUNCTION_TYPE(None, c_int, c_int)(callback) ) -> None
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
glutCreateMenu( callback ) -> <class 'ctypes.c_int'>
glutCreateMenu( FUNCTION_TYPE(c_int, c_int)(callback) ) -> c_int
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
glutDestroyMenu( menu )
glutDestroyMenu( c_int(menu) ) -> None
glutDestroyWindow( window )
glutDestroyWindow( c_int(window) ) -> None
glutDetachMenu( button )
glutDetachMenu( c_int(button) ) -> None
glutDeviceGet( query ) -> <class 'ctypes.c_int'>
glutDeviceGet( GLenum(query) ) -> c_int
glutDialsFunc( callback )
glutDialsFunc( FUNCTION_TYPE(None, c_int, c_int)(callback) ) -> None
glutDisplayFunc( callback )
glutDisplayFunc( FUNCTION_TYPE(None)(callback) ) -> None
glutEnterGameMode( ) -> <class 'ctypes.c_int'>
glutEnterGameMode( ) -> c_int
glutEntryFunc( callback )
glutEntryFunc( FUNCTION_TYPE(None, c_int)(callback) ) -> None
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
glutIdleFunc( callback )
glutIdleFunc( FUNCTION_TYPE(None)(callback) ) -> None
glutIgnoreKeyRepeat( ignore )
glutIgnoreKeyRepeat( c_int(ignore) ) -> None
glutInit( pargc , argv )
glutInit( POINTER(c_int)(pargc), POINTER(STRING)(argv) ) -> 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
glutJoystickFunc( callback , pollInterval )
glutJoystickFunc( FUNCTION_TYPE(None, c_uint, c_int, c_int, c_int)(callback), c_int(pollInterval) ) -> None
glutKeyboardFunc( callback )
glutKeyboardFunc( FUNCTION_TYPE(None, c_ubyte, c_int, c_int)(callback) ) -> None
glutKeyboardUpFunc( callback )
glutKeyboardUpFunc( FUNCTION_TYPE(None, c_ubyte, c_int, c_int)(callback) ) -> None
glutLayerGet( query ) -> <class 'ctypes.c_int'>
glutLayerGet( GLenum(query) ) -> c_int
glutLeaveGameMode( )
glutLeaveGameMode( ) -> None
glutMainLoop( )
glutMainLoop( ) -> None
glutMenuStateFunc( callback )
glutMenuStateFunc( FUNCTION_TYPE(None, c_int)(callback) ) -> None
glutMenuStatusFunc( callback )
glutMenuStatusFunc( FUNCTION_TYPE(None, c_int, c_int, c_int)(callback) ) -> None
glutMotionFunc( callback )
glutMotionFunc( FUNCTION_TYPE(None, c_int, c_int)(callback) ) -> None
glutMouseFunc( callback )
glutMouseFunc( FUNCTION_TYPE(None, c_int, c_int, c_int, c_int)(callback) ) -> None
glutOverlayDisplayFunc( callback )
glutOverlayDisplayFunc( FUNCTION_TYPE(None)(callback) ) -> None
glutPassiveMotionFunc( callback )
glutPassiveMotionFunc( FUNCTION_TYPE(None, c_int, c_int)(callback) ) -> 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
glutReshapeFunc( callback )
glutReshapeFunc( FUNCTION_TYPE(None, c_int, c_int)(callback) ) -> 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
glutSpaceballButtonFunc( callback )
glutSpaceballButtonFunc( FUNCTION_TYPE(None, c_int, c_int)(callback) ) -> None
glutSpaceballMotionFunc( callback )
glutSpaceballMotionFunc( FUNCTION_TYPE(None, c_int, c_int, c_int)(callback) ) -> None
glutSpaceballRotateFunc( callback )
glutSpaceballRotateFunc( FUNCTION_TYPE(None, c_int, c_int, c_int)(callback) ) -> None
glutSpecialFunc( callback )
glutSpecialFunc( FUNCTION_TYPE(None, c_int, c_int, c_int)(callback) ) -> None
glutSpecialUpFunc( callback )
glutSpecialUpFunc( FUNCTION_TYPE(None, c_int, c_int, c_int)(callback) ) -> 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
glutTabletButtonFunc( callback )
glutTabletButtonFunc( FUNCTION_TYPE(None, c_int, c_int, c_int, c_int)(callback) ) -> None
glutTabletMotionFunc( callback )
glutTabletMotionFunc( FUNCTION_TYPE(None, c_int, c_int)(callback) ) -> None
glutTimerFunc( time , callback , value )
glutTimerFunc( c_uint(time), FUNCTION_TYPE(None, c_int)(callback), c_int(value) ) -> None
glutUseLayer( layer )
glutUseLayer( GLenum(layer) ) -> None
glutVideoResizeGet( query ) -> <class 'ctypes.c_int'>
glutVideoResizeGet( GLenum(query) ) -> c_int
glutVisibilityFunc( callback )
glutVisibilityFunc( FUNCTION_TYPE(None, c_int)(callback) ) -> None
glutWarpPointer( x , y )
glutWarpPointer( c_int(x), c_int(y) ) -> None
glutWindowStatusFunc( callback )
glutWindowStatusFunc( FUNCTION_TYPE(None, c_int)(callback) ) -> 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

Classes