A scalar integer function to be used within the visual shader graph.
Accept an integer scalar ([code]x[/code]) to the input port and transform it according to [member function].
- A function to be applied to the scalar. See [enum Function] for options.
Returns the absolute value of the parameter. Translates to [code]abs(x)[/code] in the Godot Shader Language.
Negates the [code]x[/code] using [code]-(x)[/code].
Extracts the sign of the parameter. Translates to [code]sign(x)[/code] in the Godot Shader Language.
Returns the result of bitwise [code]NOT[/code] operation on the integer. Translates to [code]~a[/code] in the Godot Shader Language.
Represents the size of the [enum Function] enum.