Пример #1
0
 public void Dispose()
 {
     RsDebug?.Dispose();
     _rsCw?.Dispose();
     _rsCcw?.Dispose();
     LightRenderer.Dispose();
     LightMapRenderer.Dispose();
     ShadowRenderer.Dispose();
 }
Пример #2
0
 public void Dispose()
 {
     if (!_disposed)
     {
         _disposed = true;
         LightRenderer.Dispose();
         _ssaoFilter.SafeDispose();
         _copyFilter.Dispose();
     }
 }