setValueT1Array method
Implementation
setValueT1Array(gl, v, WebGLTextures textures) {
var n = v.length;
var units = allocTexUnits(textures, n);
// print("setValueT1Array n: ${n} ");
gl.uniform1iv(addr, units);
for (var i = 0; i != n; ++i) {
textures.setTexture2D(v[i] ?? emptyTexture, units[i]);
}
}