Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Materials/Material.h |
Include |
#include "Materials/Material.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Materials/Material.cpp |
bool SetMaterialUsage
(
bool & bNeedsRecompile,
const EMaterialUsage Usage
)
Set the given usage flag.
bool - true if the material can be used for rendering with the given type.
Parameter |
Description |
---|---|
bNeedsRecompile |
true if the material was recompiled for the usage change |
Usage |
The usage flag to set |