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