public static Shader GenShader(IEnumerable <ShaderSource> source, IGLContext context) { var shader = GenShader(source, context.Context); if (shader != null) { context.ShaderBinding(shader); } return(shader); }