Is texture animation implemented through code or should it be included in the gltf file?

It’s possible to animate UVs with animation pointer extension:

And some interesting Reddit thread here:

https://www.reddit.com/r/blenderhelp/comments/zaq6ze/how_do_i_export_with_animated_materials/