Beispiel #1
0
        public UPass(UPass pass)
        {
            m_IsFirst = pass.m_IsFirst;
            int i, max;

            for (i = 0, max = m_Texs.Length; i < max; i++)
            {
                m_Texs[i] = pass.m_Texs[i];
            }
            m_MixTex = pass.m_MixTex;
            Initialize();
        }
Beispiel #2
0
 public void Add(UPass pass)
 {
     m_Passes.Add(pass);
     UpdatePasses();
     UpdateMats();
 }