Document parameters and return values for GLSL functions.

Addresses issue #459.