SingleUniform constructor
SingleUniform(
- dynamic id,
- ActiveInfo activeInfo,
- UniformLocation addr
Implementation
SingleUniform(id, this.activeInfo, UniformLocation addr) {
this.id = id;
this.addr = addr;
cache = {};
type = activeInfo.type;
setValue = getSingularSetter(activeInfo.type);
}