예제 #1
0
        public override void OnEnable(Window window)
        {
            base.OnEnable(window);

            if (processes == null)
            {
                processes = new PostProcessBase[]
                {
                    new NoneProcess(),
                    new OneMinusProcess(),
                    new SwizzleProcess(),
                    new BlendMapProcess()
                };
            }
            for (int i0 = 0; i0 < processes.Length; ++i0)
            {
                processes[i0]?.OnEnable(window);
            }
            ChangeBlitMaterial(postProcessType);
        }