/Engine/Source/Runtime/Engine/Public/MaterialShared.h
These compile jobs are submitted async and it is up to client code to block on results if needed.
void CacheGivenTypes ( EShaderPlatform ShaderPlatform, const [TArray](API\Runtime\Core\Containers\TArray)< const [FVertexFactoryType](API\Runtime\RenderCore\FVertexFactoryType) * > & VFTypes, const [TArray](API\Runtime\Core\Containers\TArray)< const [FShaderPipelineType](API\Runtime\RenderCore\FShaderPipelineType) * > & PipelineTypes, const [TArray](API\Runtime\Core\Containers\TArray)< const [FShaderType](API\Runtime\RenderCore\FShaderType) * > & ShaderTypes )