Attention
You are reading the latest
(unstable) version of this documentation, which may document features not available
or compatible with Godot 3.x.
Checking the stable version of the documentation...
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.
VisualShaderNodeUIntFunc¶
Inherits: VisualShaderNode < Resource < RefCounted < Object
An unsigned scalar integer function to be used within the visual shader graph.
Description¶
Accept an unsigned integer scalar (x
) to the input port and transform it according to function.
Properties¶
|
Enumerations¶
enum Function:
Function FUNC_NEGATE = 0
Negates the x
using -(x)
.
Function FUNC_BITWISE_NOT = 1
Returns the result of bitwise NOT
operation on the integer. Translates to ~a
in the Godot Shader Language.
Function FUNC_MAX = 2
Represents the size of the Function enum.
Property Descriptions¶
Function function = 0
A function to be applied to the scalar. See Function for options.