Ejemplo n.º 1
0
 protected override void UnloadContent()
 {
     _backbufferRenderTarget?.Dispose();
     _bloomFilter?.Dispose();
     _colorGradingFilter?.Dispose();
 }
Ejemplo n.º 2
0
 /// <summary>
 /// UnloadContent will be called once per game and is the place to unload
 /// game-specific content.
 /// </summary>
 protected override void UnloadContent()
 {
     // TODO: Unload any non ContentManager content here
     _bloomFilter.Dispose();
 }
Ejemplo n.º 3
0
 /// <summary>
 /// UnloadContent will be called once per game and is the place to unload
 /// game-specific content.
 /// </summary>
 protected override void UnloadContent()
 {
     // TODO: Unload any non ContentManager content here
     Galaxy.Instance.Stop();
     bloomFilter.Dispose();
 }