Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Materials > UMaterial
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Materials/Material.h |
Include | #include "Materials/Material.h" |
Source | /Engine/Source/Runtime/Engine/Private/Materials/Material.cpp |
static void UpdateMaterialShaders
&40;
TArray< const FShaderType &42; > & ShaderTypesToFlush,
TArray< const FShaderPipelineType &42; > & ShaderPipelineTypesToFlush,
TArray< const FVertexFactoryType &42; > & VFTypesToFlush,
EShaderPlatform ShaderPlatform
&41;
Remarks
Go through every material, flush the specified types and re-initialize the material's shader maps.