Esempio n. 1
0
 public void GLEnd()
 {
     if (count > 0)
     {
         texture.GLEnd();
     }
 }
Esempio n. 2
0
 public void CreateUI(GLEx g)
 {
     if (visible)
     {
             CollectionUtils.Clear(tex2ds);
             for (int i = 0; i < count; i++)
             {
                 texture = kernels[i].Get();
                 if (!tex2ds.Contains(texture))
                 {
                     CollectionUtils.Add(tex2ds, texture);
                     texture.GLBegin();
                 }
                 kernels[i].Draw(g);
             }
             for (int i_1 = 0; i_1 < tex2ds.Count; i_1++)
             {
                 texture = tex2ds[i_1];
                 texture.GLEnd();
             }
     }
 }