OpenGL.raw.GLUT
Modules
Raw (C-style) API for OpenGL.GLUT
Automatically generated by the generateraw script, do not edit!
Functions
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
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
glutExtensionSupported(
extension
)
-> <class 'ctypes.c_int'>
glutExtensionSupported( STRING(extension) ) -> c_int
glutGetColor(
color
,
component
)
-> <class 'ctypes.c_float'>
glutGetColor( c_int(color), c_int(component) ) -> GLfloat
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
glutMenuStatusFunc(
callback
)
glutMenuStatusFunc( FUNCTION_TYPE(None, c_int, c_int, c_int)(callback) ) -> None
glutMouseFunc(
callback
)
glutMouseFunc( FUNCTION_TYPE(None, c_int, c_int, c_int, c_int)(callback) ) -> None
glutPassiveMotionFunc(
callback
)
glutPassiveMotionFunc( FUNCTION_TYPE(None, c_int, c_int)(callback) ) -> None
glutSetColor(
color
,
red
,
green
,
blue
)
glutSetColor( c_int(color), GLfloat(red), GLfloat(green), GLfloat(blue) ) -> None
glutSolidCone(
base
,
height
,
slices
,
stacks
)
glutSolidCone( GLdouble(base), GLdouble(height), GLint(slices), GLint(stacks) ) -> None
glutSolidSphere(
radius
,
slices
,
stacks
)
glutSolidSphere( GLdouble(radius), GLint(slices), GLint(stacks) ) -> 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
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
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
glutWireSphere(
radius
,
slices
,
stacks
)
glutWireSphere( GLdouble(radius), GLint(slices), GLint(stacks) ) -> None
glutWireTorus(
innerRadius
,
outerRadius
,
sides
,
rings
)
glutWireTorus( GLdouble(innerRadius), GLdouble(outerRadius), GLint(sides), GLint(rings) ) -> None