public void OnGraphicsDeviceDisposing(GraphicsDeviceDisposing message)
 {
     _graphicsDevice = null;
     if (_primitiveBatch != null)
     {
         _primitiveBatch.Dispose();
         _primitiveBatch = null;
     }
 }