Attention: Here be dragons
This is the
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
An unsigned scalar integer function to be used within the visual shader graph.
Accept an unsigned integer scalar (
x) to the input port and transform it according to function.
Function FUNC_NEGATE =
Function FUNC_BITWISE_NOT =
Returns the result of bitwise
NOT operation on the integer. Translates to
~a in the Godot Shader Language.
Function FUNC_MAX =
Represents the size of the Function enum.
Function function =
A function to be applied to the scalar. See Function for options.