コード例 #1
0
 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;
 }
コード例 #2
0
ファイル: SceneRenderer.cs プロジェクト: Zulkir/ClarityWorlds
        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>>();
        }