Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Materials/MaterialInterface.h |
Include |
#include "Materials/MaterialInterface.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Materials/MaterialInterface.cpp |
Re-caches uniform expressions for all material interfaces Set bRecreateUniformBuffer to true if uniform buffer layout will change (e.g. FMaterial is being recompiled). In that case calling needs to use FMaterialUpdateContext to recreate the rendering state of primitives using this material.
Parameter |
Description |
---|---|
bRecreateUniformBuffer |
true forces uniform buffer recreation. |