Esempio n. 1
0
 public Renderer()
 {
     _pipeline              = new Pipeline();
     _counters              = new Counters();
     _window                = new Window(this);
     _textureCopy           = new TextureCopy(this);
     _backgroundTextureCopy = new TextureCopy(this);
     _sync             = new Sync();
     PersistentBuffers = new PersistentBuffers();
     ResourcePool      = new ResourcePool();
 }
Esempio n. 2
0
 public void Dispose()
 {
     _textureCopy.Dispose();
     _backgroundTextureCopy.Dispose();
     PersistentBuffers.Dispose();
     ResourcePool.Dispose();
     _pipeline.Dispose();
     _window.Dispose();
     _counters.Dispose();
     _sync.Dispose();
 }