pyunity.window.glfwWindow module

class pyunity.window.glfwWindow.Window(config, name)[source]

Bases: object

A window provider that uses GLFW.

Raises

PyUnityException – If the window creation fails

start(update_func)[source]

Start the main loop of the window.

Parameters

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