Пример #1
0
 protected override void UnloadContent()
 {
     _backbufferRenderTarget?.Dispose();
     _bloomFilter?.Dispose();
     _colorGradingFilter?.Dispose();
 }
Пример #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();
 }
Пример #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();
 }