public SceneRendererFactory(IGraphicsInfra infra, ISkyboxDrawer skyboxDrawer, IVisualElementHandlerContainer handlerContainer, IBlurDrawer blurDrawer, ISketchDrawer sketchDrawer, IVeilDrawer veilDrawer, IHighlightDrawer highlightDrawer) { this.infra = infra; this.skyboxDrawer = skyboxDrawer; this.handlerContainer = handlerContainer; this.blurDrawer = blurDrawer; this.sketchDrawer = sketchDrawer; this.veilDrawer = veilDrawer; this.highlightDrawer = highlightDrawer; }
public SceneRenderer(IGraphicsInfra infra, ISkyboxDrawer skyboxDrawer, IVisualElementHandlerContainer handlerContainer, IBlurDrawer blurDrawer, ISketchDrawer sketchDrawer, IVeilDrawer veilDrawer, IHighlightDrawer highlightDrawer) { this.infra = infra; this.skyboxDrawer = skyboxDrawer; this.handlerContainer = handlerContainer; this.blurDrawer = blurDrawer; this.sketchDrawer = sketchDrawer; this.veilDrawer = veilDrawer; this.highlightDrawer = highlightDrawer; regularQueue= new List<Pair<RenderQueueItem, IVisualElementHandler>>(); focusedQueue= new List<Pair<RenderQueueItem, IVisualElementHandler>>(); overlayQueue= new List<Pair<RenderQueueItem, IVisualElementHandler>>(); opaqueSubqueue= new List<Pair<RenderQueueItem, IVisualElementHandler>>(); transparentSubqueue= new List<Tuple3<RenderQueueItem, IVisualElementHandler, float>>(); }