Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Materials > UMaterial
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 |
bool NeedsSetMaterialUsage_Concurrent
&40;
bool & bOutHasUsage,
const EMaterialUsage Usage
&41; const
Remarks
Tests to see if this material needs a usage flag update bool - true if we need to call SetMaterialUsage
Parameters
Name | Description |
---|---|
Usage | The usage flag to set |
bOutHasUsage | if we don't need to call SMU, then this is what SMU would have returned |