Example #1
0
 public PathSampleProcessor(int maxpaths, RayEngineScene rayEngineScene, CorrectorImageFilm pixelDevice, GlobalSamplingContext samplers)
 {
     this.maxPaths = maxpaths;
     this.rayEngineScene = rayEngineScene;
     this.pixelDevice = pixelDevice;
     this.samplers = samplers;
     this.sampleBuffer = pixelDevice.GetFreeSampleBuffer();
     this.paths = new List<PathSampler>(maxPaths);
 }