pyunity.window.glutWindow module¶
-
class
pyunity.window.glutWindow.
Window
(size, name)¶ Bases:
object
A window provider that uses FreeGLUT.
-
display
()¶ Function to render in the scene.
-
schedule_update
(t)¶ Starts the window refreshing.
-
start
(updateFunc)¶ Start the main loop of the window.
- Parameters
updateFunc (function) – The function that calls the OpenGL calls.
-