/Engine/Source/Runtime/Engine/Public/MaterialShared.h
Compiles the shaders for a material and caches them in this shader map.
Compiles the shaders for a material and caches them in this shader map.
void Compile ( [FMaterial](API\Runtime\Engine\FMaterial) * Material, const [FMaterialShaderMapId](API\Runtime\Engine\FMaterialShaderMapId) & ShaderMapId, const [TRefCountPtr](API\Runtime\Core\Templates\TRefCountPtr)< [FSharedShaderCompilerEnvironment](API\Runtime\RenderCore\FSharedShaderCompilerEnvironment) > & MaterialEnvironment, const [FMaterialCompilationOutput](API\Runtime\Engine\FMaterialCompilationOutput) & InMaterialCompilationOutput, EShaderPlatform Platform, EMaterialShaderPrecompileMode PrecompileMode )