This is a simple example of how to use the new GPipe API with the GPipe-GLFW backend. This example has been lifted almost verbatim from GPipe is dead, long live GPipe!. All credit and ownership goes to Tobias Bexelius.
GPipe is a typesafe functional API based on the conceptual model of OpenGL, but without the imperative state machine.
To learn GPipe, start with the readme. You could also go directly to a working example or the tutorials Part 1, Part 2, Part 3, Part 4, Part 5.
Find GPipe on github, stackage, and hackage.
- 0.1.0.1
- Changed how input state is output & added a scroll callback example.
- pakanek added a missing min-version constraint.