node package manager

glsldoc

a JSON-structured documentation of all WebGL GLSL predefined functions, constants, types, qualifiers,...

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