public static unsafe void DeleteBuffer(uint buffer) { uint[] buffers = { buffer }; fixed(uint *ptr = &buffers[0]) GLCore.DeleteBuffers(1, ptr); }