Skip to content

jsimmons/opengl-spec-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gl-spec-parser

A parser for OpenGL spec files that supports templated output.

Note

If you're interested in this you'll probably be more interested in glloadgen which is a far more complete take on the same basic idea.

Usage

$ glgen <target> <version>

Where target is the appropriate template name under templates and version is an OpenGL version sans the version dot. For example:

$ glgen luajit 42

The functions are also easily accessible from Lua, by importing the parser or generator libraries. There's no documentation for these yet but they're nearly single function interfaces and should be pretty straightforward.

About

An OpenGL spec file parser written in Lua

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published