/// <summary> /// Construct a shader /// </summary> /// <param name="name">The shader name</param> /// <param name="type">The type of shader</param> /// <returns>The new shader</returns> public static Shader Create(string name, ShaderType type) { return(new Shader(name, type, GL.CreateShader(type.ToGLShaderType()))); }