Navigation
API > API/Runtime > API/Runtime/Engine
Set of user-provided flags used by extern instructions.
| Name | MIR::EExternFlags |
| Type | enum |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialIRExtern.h |
| Include Path | #include "Materials/MaterialIRExtern.h" |
Syntax
namespace MIR
{
enum EExternFlags
{
None = 0,
Inline = 1 << 0,
NoDifferentials = 1 << 1,
ZeroDifferentials = 1 << 2,
}
}
Values
| Name | Remarks |
|---|---|
| None | |
| Inline | Hint the IR-to-shader-code translator that any generated code does not need to get its own temporary and can be inlined as a subexpression of another expression. |
| NoDifferentials | This extern does not support analytical screen-space partial differential. |
| ZeroDifferentials |