/Engine/Source/Runtime/Engine/Classes/Materials/MaterialInstance.h
Add to the set any texture referenced by expressions, including nested functions, as well as any overrides from parameters.
virtual void GetReferencedTexturesAndOverrides ( [TSet](API\Runtime\Core\Containers\TSet)< const [UTexture](API\Runtime\Engine\Engine\UTexture) * > & InOutTextures ) const