Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/HLSLTree
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/HLSLTree/HLSLTreeTypes.h |
| Include | #include "HLSLTree/HLSLTreeTypes.h" |
Syntax
namespace UE
{
namespace HLSLTree
{
enum EExpressionEvaluation
&123;
None,
Unknown,
Shader,
PreshaderLoop,
Preshader,
ConstantLoop,
Constant,
ConstantZero,
&125;
}
}
Values
| Name | Description |
|---|---|
| None | Invalid/uninitialized |
| Unknown | Valid, but not yet known |
| Shader | The expression outputs HLSL code (via FExpressionEmitResult::Writer) |
| PreshaderLoop | |
| Preshader | The expression outputs preshader code evaluated at runtime (via FExpressionEmitResult::Preshader) |
| ConstantLoop | |
| Constant | The expression outputs constant preshader code evaluated at compile time (via FExpressionEmitResult::Preshader) |
| ConstantZero | The expression evaluates to 0 |
Remarks
Describes how a given expression needs to be evaluated