SingleUniform constructor

SingleUniform(
  1. dynamic id,
  2. WxGlActiveInfo activeInfo,
  3. WxGlUniformLocation addr
)

Implementation

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