Skip to content

TheCrashed/glfw3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

glfw3


Description

A Python 2.x wrapper for GLFW 3 using ctypes. PyPy compatible.

Example

from glfw import *

glfwInit()

window = glfwCreateWindow(800, 600, 'GLFW3')
glfwMakeContextCurrent(window)

while not glfwWindowShouldClose(window):
    glfwPollEvents()
    glfwSwapBuffers(window)

glfwTerminate()

Included

libglfw.py An automatically generated wrapper for glfw3.h

glfw.py An abstraction layer above libglfw.py, so you don't need to muck around with ctypes.

About

A Python 2.x wrapper for GLFW 3 using ctypes. PyPy compatible.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors