Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FMaterialShaderMap
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/MaterialShared.h |
| Include | #include "MaterialShared.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Materials/MaterialShader.cpp |
void Compile
&40;
FMaterial &42; Material,
const FMaterialShaderMapId & ShaderMapId,
const TRefCountPtr< FSharedShaderCompilerEnvironment > & MaterialEnvironment,
const FMaterialCompilationOutput & InMaterialCompilationOutput,
EShaderPlatform Platform,
EMaterialShaderPrecompileMode PrecompileMode
&41;
Remarks
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.
Parameters
| Name | Description |
|---|---|
| Material | The material to compile shaders for. |
| ShaderMapId | the set of static parameters to compile for |
| Platform | The platform to compile to |
| Material | The material to compile shaders for. |
| InShaderMapId | the set of static parameters to compile for |
| Platform | The platform to compile to |