Beispiel #1
0
        /// <summary> Removes the given tex. </summary>
        /// <param name="tex"> The tex to remove.</param>
        public void Remove(CameraModelView tex)
        {
            int index = -1;

            for (int i = 0; i < m_ActiveTextures.Count; i++)
            {
                if (tex == m_ActiveTextures[i])
                {
                    index = i;
                }
            }
            if (index != -1)
            {
                m_ActiveTextures.RemoveAt(index);
            }
        }
Beispiel #2
0
 /// <summary> Regists the given tex. </summary>
 /// <param name="tex"> The tex to remove.</param>
 public void Regist(CameraModelView tex)
 {
     m_ActiveTextures.Add(tex);
 }