Exemplo n.º 1
0
        public void FreeMaterialPass(PageDecalInfo pageInfo)
        {
            Technique t = FindPageTechnique(pageInfo.Coord);

            if (t != null)
            {
                // remove the passes from the material
                foreach (Pass p in pageInfo.Passes)
                {
                    t.RemovePass(p);
                }

                // clear the list of saved passes
                pageInfo.Passes.Clear();
            }
        }