Esempio n. 1
0
 public void Set(string name, IGLType uniformVariable)
 {
     foreach (Cell cell in cells)
     {
         if (cell.name == name)
         {
             cell.value = uniformVariable;
         }
     }
 }
Esempio n. 2
0
 public void Set(int index, IGLType uniformVariable)
 {
     cells[index].value = uniformVariable;
 }
Esempio n. 3
0
 public Cell(string name, IGLType value = null)
 {
     this.name  = name;
     this.value = value;
 }