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