protected virtual void Dispose(bool disposing) { if (disposing) { if (_texture != null) _texture.Dispose(); } }