node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

glsldoc

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