示例#1
0
 protected virtual void Dispose(bool disposing)
 {
     if (disposing)
     {
         _buffer.Dispose();
     }
 }
示例#2
0
        protected virtual void Dispose(bool disposing)
        {
            if (disposing)
            {
                _buffer.Dispose();

                while (_pendingCopies.TryDequeue(out var pc))
                {
                    pc.Fence.Put();
                }
            }
        }
示例#3
0
        protected virtual void Dispose(bool disposing)
        {
            if (disposing)
            {
                Valid = false;

                if (_gd.Textures.Remove(this))
                {
                    _imageView.Dispose();
                    _imageViewIdentity.Dispose();
                    _imageView2dArray?.Dispose();
                    _flushStorage?.Dispose();
                }
            }
        }
示例#4
0
 public void Dispose()
 {
     _flushStorage.Dispose();
 }