setValueT3DArray method
dynamic
setValueT3DArray(
- dynamic gl,
- dynamic v,
- dynamic textures
Implementation
setValueT3DArray(gl, v, textures) {
var n = v.length;
var units = allocTexUnits(textures, n);
gl.uniform1iv(addr, units);
for (var i = 0; i != n; ++i) {
textures.setTexture3D(v[i] ?? empty3dTexture, units[i]);
}
}