chickadee » gl-utils » make-program

make-program SHADER-LIST #!optional PROGRAM-IDprocedure

Creates and links a program object, given a list of shader objects (i.e. the integers returned by make-shader. Returns an integer representing the ID of the program.

Accepts an optional PROGRAM-ID argument. If given, make-program will use this ID rather than generating a new one.