Error using an array of DataTexture2DArray

I have a need to potentially pass thousands of texture images down to the shader. I am able to successfully use the DataTexture2DArray, however, when I try to pass an array of DataTexture2DArray objects in a uniform I get an error. A quick investigation reveals that ‘setValue’ is undefined because that texture type is not accounted for in ‘getPureArraySetter’. I quickly tried adding my own setter following the patterns in the existing code and it seemed to work fine. Is there any reason this wasn’t added in the first place or is it just an oversight (i.e. should I not be using an array of DataTexture2DArray objects for some reason)? BTW, I also noticed that SAMPLER_3D is not accounted for either in that ‘getPureArraySetter’ method.

Thanks,

Terry

I think your use case is so specific that no one stumbled across it yet.