UMaterialInstance::ForceRecompileForRendering

Clears the shader cache and recompiles the shader for rendering.

Windows
MacOS
Linux

Override Hierarchy

UMaterialInterface::ForceRecompileForRendering()

UMaterialInstance::ForceRecompileForRendering()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Materials/MaterialInstance.h

Include

#include "Materials/MaterialInstance.h"

Source

/Engine/Source/Runtime/Engine/Private/Materials/MaterialInstance.cpp

Syntax

virtual void ForceRecompileForRendering()

Remarks

Clears the shader cache and recompiles the shader for rendering.

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