Changing multiple textures on an object through code

Right now my object has two textures applied to it and I want to be able to change both separately through code. I know that

this.renderer.material.mainTexture = newTexture;

will change the first texture on the object but what if your object has mltiple textures applied to it that you want to change?

You just have to access these materials and textures separately:

this.renderer.materials_.mainTexture = newTexture*;*_