No commit activity in last 3 years
No release in over 3 years
Parsing OpenGL specs, so you don't have to. Supports up to version 4.6.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

Opengl Definitions

This gem contains definitions for OpenGL functions and extensions.

It's not meant to be executable code. Instead it's focus is to provide constants and function definitions to Ruby. They can then be used with FFI, for example.

Installation

$ gem install opengl-definitions

Room for improvement

  • Semantic enumerable parameters: restrics the possible GLenum's used in some parameters. Defined as groups in the spec.
  • Typed pointers (e.g.: use something like [:pointer, :GLint] instead of just :pointer).