Esempio n. 1
0
        public void Merge(ShaderCompilerContext cctx)
        {
            if (cctx == null)
            {
                throw new ArgumentNullException("cctx");
            }

            foreach (string symbol in cctx.Defines)
            {
                if (Defines.Contains(symbol) == false)
                {
                    Defines.Add(symbol);
                }
            }
            Defines.Sort();
        }