コード例 #1
0
        public InfinityRenderPipeline()
        {
            ViewUnifrom         = new ViewUnifromBuffer();
            GraphBuilder        = new RDGGraphBuilder("InfinityGraph");
            RenderPipelineAsset = (InfinityRenderPipelineAsset)GraphicsSettings.currentRenderPipeline;

            SetGraphicsSetting();
        }
        public InfinityRenderPipeline()
        {
            SetGraphicsSetting();

            GPUScene            = new FGPUScene();
            ViewUnifrom         = new ViewUnifromBuffer();
            GraphBuilder        = new RDGGraphBuilder("InfinityGraph");
            RenderPipelineAsset = (InfinityRenderPipelineAsset)GraphicsSettings.currentRenderPipeline;

            DepthPassMeshProcessor   = new FMeshPassProcessor(GPUScene);
            GBufferPassMeshProcessor = new FMeshPassProcessor(GPUScene);
            ForwardPassMeshProcessor = new FMeshPassProcessor(GPUScene);
        }