BufferAttribute: is it possible to create a BufferAttribute from a BigUint64Array?

Good evening,

I have some 64-bits unsigned integer data that I would like to pass to a ShaderMaterial through a BufferAttribute from a BigUint64Array, but it seems that BufferAttribute only handles ArrayLike and not BigInt typed arrays.

Is it possible to pass a BigInt64Array or a BigUint64Array to a BufferAttribute ?

Sorry, but you can’t use 64 bit unsigned integer in WebGL. Using it for BufferAttribute does not make sense.

With WebGL 2, you can use integer attributes like described in the following PR: