public static uint CreateRenderbuffer() { uint renderbuffer; GlNative.CreateRenderbuffers(1, &renderbuffer); return(renderbuffer); }
public static uint[] CreateRenderbuffers(int count) { var renderbuffers = new uint[count]; fixed(uint *firstRenderbuffer = renderbuffers) GlNative.CreateRenderbuffers(count, firstRenderbuffer); return(renderbuffers); }