createShader

abstract fun createShader(type: ShaderType, source: String): Shader

Creates a new shader of a given type from the given shader source.