GlslFunction
A GLSL function with arguments, a GLSL parameter list such as vec2 p, float r, that returns a glslType. code is an expression or a function body with return, it reads its own parameters as p_<name>, which are set on this object and can be dynamic themselves, and can call the functions of libraries. Shade style code calls it as p_<name>(arguments).
Constructors
Properties
The GLSL types of the arguments, without their names and precision qualifiers: vec2 p, in highp float r[2] has the types vec2 and in float[2]. With glslType they are the contract of the function, functions with the same contract can replace each other.
the GLSL libraries the code of the parameter uses
Functions
does this function return returnType and take arguments of argumentTypes?
Sets name to a parameter that is resolved in the shader, read from a texture or computed by GLSL code