Work in progress
Godot documentation is being updated to reflect the latest changes in version
4.0. Some documentation pages may
still state outdated information. This banner will tell you if you're reading one of such pages.
The contents of this page are up to date. If you can still find outdated information, please open an issue.
Inherits: VisualShaderNode < Resource < RefCounted < Object
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.