protected virtual void Dispose(bool disposing) { if (disposing) { _buffer.Dispose(); } }
protected virtual void Dispose(bool disposing) { if (disposing) { _buffer.Dispose(); while (_pendingCopies.TryDequeue(out var pc)) { pc.Fence.Put(); } } }
protected virtual void Dispose(bool disposing) { if (disposing) { Valid = false; if (_gd.Textures.Remove(this)) { _imageView.Dispose(); _imageViewIdentity.Dispose(); _imageView2dArray?.Dispose(); _flushStorage?.Dispose(); } } }
public void Dispose() { _flushStorage.Dispose(); }