Пример #1
0
        public void AddGmic()
        {
            var pass = ConfigurationPass.GetGmic();

            Main.Passes.Add(pass);
            ModelPasses.Add(new ModelConfigurationPass(pass));
        }
Пример #2
0
        public void AddUpscaleFixed()
        {
            var pass = ConfigurationPass.GetUpscaleFixed(4096);

            Main.Passes.Add(pass);
            ModelPasses.Add(new ModelConfigurationPass(pass));
        }
Пример #3
0
        public void AddCorrectSize()
        {
            var pass = ConfigurationPass.GetCorrectSize();

            Main.Passes.Add(pass);
            ModelPasses.Add(new ModelConfigurationPass(pass));
        }
Пример #4
0
        public void AddUpscaleFactor()
        {
            var pass = ConfigurationPass.GetUpscaleFactor(2);

            Main.Passes.Add(pass);
            ModelPasses.Add(new ModelConfigurationPass(pass));
        }
Пример #5
0
        public void AddFixedPass()
        {
            var pass = ConfigurationPass.GetNewFixer(1024);

            Main.Passes.Add(pass);
            ModelPasses.Add(new ModelConfigurationPass(pass));
        }
Пример #6
0
        public void AddDividePass()
        {
            var pass = ConfigurationPass.GetNewDivider(2);

            Main.Passes.Add(pass);
            ModelPasses.Add(new ModelConfigurationPass(pass));
        }
Пример #7
0
        public void AddFormatPass()
        {
            var pass = ConfigurationPass.GetNewForceFormat("BC7_UNORM");

            Main.Passes.Add(pass);
            ModelPasses.Add(new ModelConfigurationPass(pass));
        }
Пример #8
0
        public void AddForceMipmap()
        {
            var pass = ConfigurationPass.GetForceMipmap();

            Main.Passes.Add(pass);
            ModelPasses.Add(new ModelConfigurationPass(pass));
        }