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