Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/MaterialShared.h |
Include |
#include "MaterialShared.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Materials/MaterialShared.cpp |
Enqueues a rendering command to cache uniform expressions for efficient runtime evaluation. bRecreateUniformBuffer - whether to recreate the material uniform buffer. This is required if the FMaterial is being recompiled (the uniform buffer layout will change). This should only be done if the calling code is using FMaterialUpdateContext to recreate the rendering state of primitives using this material, since cached mesh commands also cache uniform buffer pointers.