Giter Club home page Giter Club logo

glaced-generator's Introduction

Glace logo

node-glace

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 [email protected]:screeny05/glaced-generator.git
cd glaced-generator
npm install
node_modules/.bin/tsc

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

# compile bindings
cd target
npm run build

Usage

Usage: dist/index.js command [arguments]


Options:

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


Commands:

  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.

Versioning

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.

License

MIT

glaced-generator's People

Contributors

screeny05 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

glaced-generator's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.