public static int GetProgramiv(uint program, ProgramParameter name) { int[] result = new int[1]; GLCore.GetProgramiv(program, name, result); return(result[0]); }