public static unsafe uint GenFramebuffer() { uint[] buffers = new uint[1]; fixed(uint *ptr = &buffers[0]) GLCore.GenFramebuffers(1, ptr); return(buffers[0]); }