pyunity.window.glfwWindow module

class pyunity.window.glfwWindow.Window(size, name)

Bases: object

A window provider that uses GLFW.

Raises

pyunityException – If the window creation fails

start(updateFunc)

Start the main loop of the window.

Parameters

updateFunc (function) – The function that calls the OpenGL calls.