示例#1
0
        public UPass(bool firstPass, Texture2D mix)
        {
            m_IsFirst = firstPass;
            int i, max;

            for (i = 0, max = m_Texs.Length; i < max; i++)
            {
                m_Texs[i] = new UTexture(null);
            }
            m_MixTex = mix;
            Initialize();
        }
示例#2
0
 public void SetTexture(int index, UTexture tex)
 {
     m_Texs[index] = tex;
 }