EvalΒΆ
This document describes the evaluation language used in the expression
parameters of the Eval*
nodes.
Basic operators (+
, -
, *
, /
) are supported, as well as parenthesis.
Whitespaces (including line breaks) are allowed as well.
If the input resources are multi-dimensional, component can be selected with
0123
, rgba
, xyzw
or stpq
. For example, foo.z
will pick the 3rd
component of the 3+ dimensional input resources identified by βfooβ.
ConstantsΒΆ
Constant |
Description |
---|---|
|
Eulerβs number, base of the natural logarithm |
|
Ο (Golden ratio) |
|
|
|
π (2Ο) |
FunctionsΒΆ
Function |
Description |
---|---|
|
absolute value of |
|
arc cosine of |
|
inverse hyperbolic cosine of |
|
arc sine of |
|
inverse hyperbolic sine of |
|
arc tangent of |
|
inverse hyperbolic tangent of |
|
cube root of |
|
smallest integral value not less than |
|
constrain |
|
|
|
|
|
cosine of |
|
hyperbolic cosine of |
|
cube of |
|
convert |
|
|
|
error function, |
|
base-e exponential of |
|
base-2 exponential of |
|
largest integral value not greater than |
|
fractional part of |
|
|
|
|
|
euclidean distance ( |
|
|
|
|
|
|
|
|
|
linearly remap |
|
convert |
|
saturated version of |
|
natural logarithm of |
|
base-2 logarithm of |
|
|
|
|
|
gamma encoded luma Yβ of the RβGβBβ value, as defined by BT.709 |
|
maximum value between |
|
minimum value between |
|
linearly remap |
|
multiply-add in one operation ( |
|
euclidean modulo: |
|
floored modulo: |
|
truncated modulo: |
|
|
|
leave |
|
convert |
|
round |
|
saturate |
|
|
|
sine of |
|
hyperbolic sine of |
|
hermite interpolation ( |
|
same as |
|
square of x ( |
|
square root of |
|
convert |
|
mix |
|
tangent of |
|
hyperbolic tangent of |
|
round to integer, toward zero (see also |