/Engine/Source/Runtime/Engine/Public/MaterialShared.h
Checks that no pre-compilation errors have been detected and if so it reports them using specified compiler.
whether no errors occurred.
virtual bool CheckInValidStateForCompilation ( class [FMaterialCompiler](API\Runtime\Engine\FMaterialCompiler) * Compiler ) const