UMaterial::UpdateMaterialShaders

Go through every material, flush the specified types and re-initialize the material's shader maps.

Windows
MacOS
Linux

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

Syntax

static void UpdateMaterialShaders
(
    TArray< const FShaderType * > & ShaderTypesToFlush,
    TArray< const FShaderPipelineType * > & ShaderPipelineTypesToFlush,
    TArray< const FVertexFactoryType * > & VFTypesToFlush,
    EShaderPlatform ShaderPlatform
)

Remarks

Go through every material, flush the specified types and re-initialize the material's shader maps.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss