add or remove the textures of gltf model

Hello!
In my program, I load a large number of GLTF models.I want to add or remove the textures of model at run time .
Is there a solution? Thanks