Module |
|
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
(
TArray< const FShaderType * > & ShaderTypesToFlush,
TArray< const FShaderPipelineType * > & ShaderPipelineTypesToFlush,
TArray< const FVertexFactoryType * > & VFTypesToFlush,
EShaderPlatform ShaderPlatform
)
Go through every material, flush the specified types and re-initialize the material's shader maps.