<img src="https://rawgit.com/screeny05/0afe08431699ee1ef34dffca5db3caa8/raw/718fb10816d4628c776454deb5d6b352b0864df9/glace.svg" alt="Glace logo" title="Glace" align="right" height="110" />
Last updated 2 years ago by screeny05 .
MIT · Original npm · Tarball · package.json
$ cnpm install @glaced/generator 
SYNC missed versions from official npm registry.
Glace logo


OpenGL Bindings Generator for node.js using napi

Generates OpenGL Bindings in the given version for the NodeJS N-API

To use this package to generate your own bindings use this:

git clone git@github.com:screeny05/glaced-generator.git
cd glaced-generator
npm install

# generate bindings
node dist download
node dist generate --api gles2 --version 2.0

# compile bindings
cd target
npm run build


Usage: dist/index.js command [arguments]


  -V, --version  output the version number
  -h, --help     output usage information


  download [options]   Downloads specification and documentation XML files
      -t --target <folder>  Target folder for XML files.
      -h, --help            output usage information

  generate [options]   Generates bindings
      -a --api <gles1|gles2|glsc2|gl|egl|glx|wgl>  API to generate bindings for.
      -v --version <version>                       Minimum required version.
      -s --source <folder>                         Folder containing the XML files.
      -t --target <folder>                         Target folder for generated bindings.
      -h, --help                                   output usage information

Currently tested and supported is only OpenGL ES 2.0.


This package follows semantic versioning. The generated packages will have this versioning <@glaced/generator version>-<svn revision number>. The revision number is retrieved when downloading the XMLs from the OpenGL SVN repo.



Current Tags

  • 0.2.1                                ...           latest (2 years ago)

3 Versions

  • 0.2.1                                ...           2 years ago
  • 0.2.0                                ...           3 years ago
  • 0.1.0                                ...           3 years ago
Maintainers (1)
Today 0
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 3
Dependencies (15)
Dev Dependencies (10)
Dependents (0)

Copyright 2014 - 2016 © taobao.org |