setValueT2DArray1 method
Implementation
void setValueT2DArray1(RenderingContext gl,Texture? v, WebGLTextures textures) {
  final cache = this.cache;
  final unit = textures.allocateTextureUnit();
  if (cache[0] != unit) {
    gl.uniform1i(addr, unit);
    cache[0] = unit;
  }
  textures.setTexture2DArray(v ?? emptyArrayTexture, unit);
}