SingleUniform constructor

SingleUniform(
  1. dynamic id,
  2. ActiveInfo activeInfo,
  3. UniformLocation addr
)

Implementation

SingleUniform(id, this.activeInfo, UniformLocation addr) {
  this.id = id;
  this.addr = addr;
  cache = {};
  type = activeInfo.type;
  setValue = getSingularSetter(activeInfo.type);
}