public BufferLock(BaseBuffer buffer, BufferTarget?target = null) { sharedLock = Context.Lock(); GL.BindBuffer(target.GetValueOrDefault(buffer.Target), buffer.Id); }