示例#1
0
        public static RenderPipeline UpdateSystem(this RenderPipeline pipeline, IUpdatableSystem system)
        {
            var stage = new UpdateSystemStage(system);

            pipeline.Add(stage);
            return(pipeline);
        }
        public static RenderPipeline RenderIcons(this RenderPipeline pipeline, IconSystem iconSystem)
        {
            var stage = new RenderIconsStage(iconSystem, pipeline.Device);

            pipeline.Add(stage);
            return(pipeline);
        }
        public static RenderPipeline Render2DOutline(this RenderPipeline pipeline, BoundarySystem boundarySystem)
        {
            var stage = new Render2DBoundariesStage(boundarySystem, pipeline.Device);

            pipeline.Add(stage);
            return(pipeline);
        }
        public static RenderPipeline RenderDebugLines(this RenderPipeline pipeline, LineSystem lineSystem)
        {
            var stage = new RenderDebugLinesStage(lineSystem, pipeline.Device);

            pipeline.Add(stage);
            return(pipeline);
        }
示例#5
0
        public static RenderPipeline RenderShadows(this RenderPipeline pipeline, ShadowPipeline shadowPipeline)
        {
            var stage = new RenderShadowsStage(shadowPipeline);

            pipeline.Add(stage);
            return(pipeline);
        }
        public static RenderPipeline RenderParticles(
            this RenderPipeline pipeline,
            ParticlePipeline particlePipeline)
        {
            var stage = new RenderParticlesStage(particlePipeline);

            pipeline.Add(stage);
            return(pipeline);
        }
示例#7
0
        public static RenderPipeline RenderModels(
            this RenderPipeline pipeline,
            ModelSystem modelSystem,
            ModelPipeline modelPipeline)
        {
            var stage = new RenderModelsStage(modelSystem, modelPipeline);

            pipeline.Add(stage);
            return(pipeline);
        }
示例#8
0
 public static RenderPipeline ClearRenderTargetSet(this RenderPipeline pipeline)
 {
     pipeline.Add(new ClearStage());
     return(pipeline);
 }