Next: Introduction, Previous: (dir), Up: (dir) [Contents][Index]
This is the glsl-spec Reference Manual, generated automatically by Declt version 3.0 "Montgomery Scott" on Thu Mar 11 13:24:21 2021 GMT+0.
• Introduction | What glsl-spec is all about | |
• Systems | The systems documentation | |
• Files | The files documentation | |
• Packages | The packages documentation | |
• Definitions | The symbols documentation | |
• Indexes | Concepts, functions, variables and data types |
This package contains the specification of all functions and variables from GLSL as data.
The functions and variables can be found as s-expressions in functions.lisp
& variables.lisp
respectively.
The functions and variables can be found as json in functions.json
& variables.json
respectively.
Up until now there has been no full machine readable version of the GLSL spec.
My previous effort go part way by parsing the man-pages but failed in that argument types were specified using Khronos's type shorthand (gvec, GenType, etc) which is inconsistant and requires extra logic from programs trying to use it. Also the way versions are specified in the glsl man pages is not trivial to parse.
This project exists purely out of rage.
There will some bugs in the above specs partly as some parts were resolved by hand, but also (and more commonly unfortunately) there are errors in the GLSL man-pages. Sometimes it's just an ommision but some are just wrong (2 examples: 0-bool return type 1-version info for cubearray version, which isnt defined)
Together though we can fix this and make a source of data we can be happier with.
I have compiled what, to me, was the most important data from the spec. But it would be lovely to have more. The doc strings would be great, as would info on exactly what stage each function is valid for (this data was not parsable).
Contributions are VERY WELCOME!
If you would like to contribute, please do so to the s-expression versions. Don't worry if you aren't used to lisp, just follow the format you find there and you will be fine (it's like json with less syntax anyhoo :])
That's it folks, thanks for checking this out and I truly hope this helps you somehow.
Happy Coding!
Next: Files, Previous: Introduction, Up: Top [Contents][Index]
The main system appears first, followed by any subsystem dependency.
• The glsl-spec system |
Chris Bagley <techsnuffle@gmail.com>
The Unlicense
The GLSL Spec as a datastructure
glsl-spec.asd (file)
Files are sorted by type and then listed depth-first from the systems components trees.
• Lisp files |
Next: The glsl-spec/package․lisp file, Previous: Lisp files, Up: Lisp files [Contents][Index]
glsl-spec.asd
glsl-spec (system)
Next: The glsl-spec/functions․lisp file, Previous: The glsl-spec․asd file, Up: Lisp files [Contents][Index]
Next: The glsl-spec/variables․lisp file, Previous: The glsl-spec/package․lisp file, Up: Lisp files [Contents][Index]
package.lisp (file)
glsl-spec (system)
functions.lisp
*functions* (special variable)
Next: The glsl-spec/operators․lisp file, Previous: The glsl-spec/functions․lisp file, Up: Lisp files [Contents][Index]
functions.lisp (file)
glsl-spec (system)
variables.lisp
*variables* (special variable)
Next: The glsl-spec/vector-constructors․lisp file, Previous: The glsl-spec/variables․lisp file, Up: Lisp files [Contents][Index]
variables.lisp (file)
glsl-spec (system)
operators.lisp
*operators* (special variable)
Next: The glsl-spec/matrix-constructors․lisp file, Previous: The glsl-spec/operators․lisp file, Up: Lisp files [Contents][Index]
operators.lisp (file)
glsl-spec (system)
vector-constructors.lisp
*vector-constructors* (special variable)
Previous: The glsl-spec/vector-constructors․lisp file, Up: Lisp files [Contents][Index]
vector-constructors.lisp (file)
glsl-spec (system)
matrix-constructors.lisp
*matrix-constructors* (special variable)
Next: Definitions, Previous: Files, Up: Top [Contents][Index]
Packages are listed by definition order.
• The glsl-spec package |
package.lisp (file)
common-lisp
Definitions are sorted by export status, category, package, and then by lexicographic order.
• Exported definitions |
Previous: Definitions, Up: Definitions [Contents][Index]
• Exported special variables |
Previous: Exported definitions, Up: Exported definitions [Contents][Index]
functions.lisp (file)
matrix-constructors.lisp (file)
operators.lisp (file)
variables.lisp (file)
vector-constructors.lisp (file)
Previous: Definitions, Up: Top [Contents][Index]
• Concept index | ||
• Function index | ||
• Variable index | ||
• Data type index |
Next: Function index, Previous: Indexes, Up: Indexes [Contents][Index]
Jump to: | F G L |
---|
Jump to: | F G L |
---|
Next: Variable index, Previous: Concept index, Up: Indexes [Contents][Index]
Next: Data type index, Previous: Function index, Up: Indexes [Contents][Index]
Jump to: | *
S |
---|
Jump to: | *
S |
---|
Previous: Variable index, Up: Indexes [Contents][Index]
Jump to: | G P S |
---|
Index Entry | Section | ||
---|---|---|---|
| |||
G | |||
glsl-spec : | The glsl-spec system | ||
glsl-spec : | The glsl-spec package | ||
| |||
P | |||
Package, glsl-spec : | The glsl-spec package | ||
| |||
S | |||
System, glsl-spec : | The glsl-spec system | ||
|
Jump to: | G P S |
---|