常用方法
常用方法
常用方法
常用方法
public static unsafe string GetShaderInfoLog(uint shader) { StringBuilder builder = new StringBuilder(1024); int[] length = new int[1]; fixed(int *ptr = &length[0]) GLCore.GetShaderInfoLog(shader, builder.Capacity, ptr, builder); return(builder.ToString()); }