public Renderer(RenderData renderData, bool useEx) { _renderData = renderData; _useExTracer = useEx; }
private IRayTracer CreateRayTracer(Camera camera, RenderData renderData, Scene scene, bool useKdTree) { return(_useExTracer ? new RayTracerEx(camera, renderData, scene, useKdTree) as IRayTracer : new RayTracer(camera, renderData, scene, useKdTree) as IRayTracer); }
public NffParserResult(Scene scene, RenderData renderData, Camera camera) { Scene = scene; RenderData = renderData; Camera = camera; }