Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UMaterialInterface
Description
Same as CheckMaterialUsage() but is valid to call from any thread. In the editor, this might spin and stall for a shader compile.
| Name | CheckMaterialUsage_Concurrent |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialInterface.h |
| Include Path | #include "Materials/MaterialInterface.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Materials/MaterialInterface.cpp |
bool CheckMaterialUsage_Concurrent
(
EMaterialUsage Usage
) const
true if the material can be used for rendering with the given flag.