gl-program


Vocabulary
opengl.shaders

Class description
gl-program is a predicate class comprising values returned by OpenGL to represent proram objects. The following words are provided for creating and manipulating these objects:
<gl-program>, <simple-gl-program> - Link a set of shaders into a GLSL program
gl-program-ok? - Check whether a program object linked successfully
check-gl-program - Throw an error unless a program object linked successfully
gl-program-info-log - Retrieve the info log of messages generated by the GLSL linker
gl-program-shaders - Retrieve the set of shader objects composing the GLSL program
delete-gl-program - Invalidate a program object and all its attached shaders
with-gl-program - Use a program object


Definition