Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/MaterialShared.h |
Include |
#include "MaterialShared.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Materials/MaterialShader.cpp |
void Compile
(
FMaterial * Material,
const FMaterialShaderMapId & ShaderMapId,
TRefCountPtr< FShaderCompilerEnvironment > MaterialEnvironment,
const FMaterialCompilationOutput & InMaterialCompilationOutput,
EShaderPlatform Platform,
bool bSynchronousCompile
)
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.
Parameter |
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 |