createProgram

open fun createProgram(vertexSource: String, fragmentSource: String): Int

Creates a new program from the supplied vertex and fragment shaders.

Return

A handle to the program, or 0 on failure.