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;
  activeInfoType = activeInfo.type;
  setValue = getSingularSetter(id, activeInfo);
}