/Engine/Source/Developer/MaterialUtilities/Public/MaterialUtilities.h
Analyzes given material to determine how many texture coordinates and whether or not vertex colors are used within the material Graph
static void AnalyzeMaterial ( class [UMaterialInterface](API\Runtime\Engine\Materials\UMaterialInterface) * InMaterial, const struct [FMaterialProxySettings](API\Runtime\Engine\Engine\FMaterialProxySettings) & InMaterialSettings, int32 & OutNumTexCoords, bool & OutRequiresVertexData )