loadShader

open fun loadShader(shaderType: Int, source: String): Int

Compiles the provided shader source.

Return

A handle to the shader, or 0 on failure.