<simple-gl-program> ( vertex-shader-source fragment-shader-source -- program )


Inputs and outputs
vertex-shader-sourceA string containing GLSL vertex shader source
fragment-shader-sourceA string containing GLSL fragment shader source
programa new gl-program

Word description
Wrapper for <gl-program> for the simple case of compiling a single vertex shader and fragment shader and linking them into a GLSL program. Throws an exception if compiling or linking fails.

See also