glsldoc

0.0.4 • Public • Published

glsldoc

glsldoc is a JSON-structured documentation of all WebGL GLSL predefined functions, constants, types, qualifiers,... port from the GLSL ES Specification.

GLSL documentation is maintained in this Google Spreadsheet and exported to JSON using this script.

Use-case

It can be used to add contextual documentation to your GLSL editor.

Usage

npm install glsldoc

then you can:

var Documentation = require("glsldoc");
console.log(Documentation);

Example

https://github.com/glslio/glsl.io/blob/master/client/src/screens/editor/GlslContextualHelp/index.js

Package Sidebar

Install

npm i glsldoc

Weekly Downloads

21

Version

0.0.4

License

none

Last publish

Collaborators

  • gre