public TracingRenderer(ITracingAlgorithm algorithm, ISampleGenerator pixelSampleGenerator) { Ensure.That("algorithm", algorithm).IsNotNull(); _algorithm = algorithm; _pixelSampleGenerator = pixelSampleGenerator; }