Navigation
API > API/Runtime > API/Runtime/Engine
Operator enumeration.
Note: If you modify this enum, update the implementations of the helper functions below.
| Name | MIR::EOperator |
| Type | enum |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialIR.h |
| Include Path | #include "Materials/MaterialIR.h" |
Syntax
namespace MIR
{
enum EOperator
{
O_Invalid,
UO_FirstUnaryOperator,
UO_BitwiseNot = UO_FirstUnaryOperator,
UO_Negate,
UO_Not,
UO_Abs,
UO_ACos,
UO_ACosFast,
UO_ACosh,
UO_ASin,
UO_ASinFast,
UO_ASinh,
UO_ATan,
UO_ATanFast,
UO_ATanh,
UO_Ceil,
UO_Cos,
UO_Cosh,
UO_Exponential,
UO_Exponential2,
UO_Floor,
UO_Frac,
UO_IsFinite,
UO_IsInf,
UO_IsNan,
UO_Length,
UO_Logarithm,
UO_Logarithm10,
UO_Logarithm2,
UO_LWCTile,
UO_Reciprocal,
UO_Round,
UO_Rsqrt,
UO_Saturate,
UO_Sign,
UO_Sin,
UO_Sinh,
UO_Sqrt,
UO_Tan,
UO_Tanh,
UO_Transpose,
UO_Truncate,
BO_FirstBinaryOperator,
BO_Equals = BO_FirstBinaryOperator,
BO_GreaterThan,
BO_GreaterThanOrEquals,
BO_LessThan,
BO_LessThanOrEquals,
BO_NotEquals,
BO_And,
BO_Or,
BO_Add,
BO_Subtract,
BO_Multiply,
BO_MatrixMultiply,
BO_Divide,
BO_Modulo,
BO_BitwiseAnd,
BO_BitwiseOr,
BO_BitShiftLeft,
BO_BitShiftRight,
BO_ATan2,
BO_ATan2Fast,
BO_Cross,
BO_Distance,
BO_Dot,
BO_Fmod,
BO_Max,
BO_Min,
BO_Pow,
BO_Step,
TO_FirstTernaryOperator,
TO_Clamp = TO_FirstTernaryOperator,
TO_Lerp,
TO_Select,
TO_Smoothstep,
OperatorCount,
}
}
Values
| Name | Remarks |
|---|---|
| O_Invalid | |
| UO_FirstUnaryOperator | Unary. |
| UO_BitwiseNot | Unary operators. |
| UO_Negate | |
| UO_Not | |
| UO_Abs | Unary intrinsics. |
| UO_ACos | |
| UO_ACosFast | |
| UO_ACosh | |
| UO_ASin | |
| UO_ASinFast | |
| UO_ASinh | |
| UO_ATan | |
| UO_ATanFast | |
| UO_ATanh | |
| UO_Ceil | |
| UO_Cos | |
| UO_Cosh | |
| UO_Exponential | |
| UO_Exponential2 | |
| UO_Floor | |
| UO_Frac | |
| UO_IsFinite | |
| UO_IsInf | |
| UO_IsNan | |
| UO_Length | |
| UO_Logarithm | |
| UO_Logarithm10 | |
| UO_Logarithm2 | |
| UO_LWCTile | |
| UO_Reciprocal | |
| UO_Round | |
| UO_Rsqrt | |
| UO_Saturate | |
| UO_Sign | |
| UO_Sin | |
| UO_Sinh | |
| UO_Sqrt | |
| UO_Tan | |
| UO_Tanh | |
| UO_Transpose | |
| UO_Truncate | |
| BO_FirstBinaryOperator | |
| BO_Equals | Binary comparisons. |
| BO_GreaterThan | |
| BO_GreaterThanOrEquals | |
| BO_LessThan | |
| BO_LessThanOrEquals | |
| BO_NotEquals | |
| BO_And | Binary logical. |
| BO_Or | |
| BO_Add | Binary arithmetic. |
| BO_Subtract | |
| BO_Multiply | |
| BO_MatrixMultiply | |
| BO_Divide | |
| BO_Modulo | |
| BO_BitwiseAnd | |
| BO_BitwiseOr | |
| BO_BitShiftLeft | |
| BO_BitShiftRight | |
| BO_ATan2 | Binary intrinsics. |
| BO_ATan2Fast | |
| BO_Cross | |
| BO_Distance | |
| BO_Dot | |
| BO_Fmod | |
| BO_Max | |
| BO_Min | |
| BO_Pow | |
| BO_Step | |
| TO_FirstTernaryOperator | |
| TO_Clamp | Ternary intrinsics. |
| TO_Lerp | |
| TO_Select | |
| TO_Smoothstep | |
| OperatorCount |