/Engine/Source/Runtime/Engine/Classes/Materials/MaterialExpressionTextureBase.h
Verify that the texture and sampler type. Generates a compiler waring if they do not.
static bool VerifySamplerType ( [ERHIFeatureLevel::Type](API\Runtime\RHI\ERHIFeatureLevel__Type) FeatureLevel, const [ITargetPlatform](API\Developer\TargetPlatform\Interfaces\ITargetPlatform) * TargetPlatform, const [UTexture](API\Runtime\Engine\Engine\UTexture) * Texture, EMaterialSamplerType SamplerType, [FString](API\Runtime\Core\Containers\FString) & OutErrorMessage )