Navigation
Unreal Engine C++ API Reference > Runtime > Engine > FMaterial
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/MaterialShared.h |
Include | #include "MaterialShared.h" |
Source | /Engine/Source/Runtime/Engine/Private/Materials/MaterialShared.cpp |
bool BeginCompileShaderMap
&40;
const FMaterialShaderMapId & ShaderMapId,
const FStaticParameterSet & StaticParameterSet,
EShaderPlatform Platform,
EMaterialShaderPrecompileMode PrecompileMode,
const ITargetPlatform &42; TargetPlatform
&41;
Remarks
Compiles this material for Platform, storing the result in OutShaderMap if the compile was synchronous
Compiles this material for Platform
- true if compile succeeded or was not necessary (shader map for ShaderMapId was found and was complete)
Parameters
Name | Description |
---|---|
ShaderMapId | the set of static parameters to compile |
Platform | the platform to compile for |
StaticParameterSet | static parameters |