summaryrefslogtreecommitdiff
path: root/doc/classes/VisualShaderNodeIntFunc.xml
diff options
context:
space:
mode:
authorYuri Roubinsky <chaosus89@gmail.com>2021-12-03 14:46:33 +0300
committerGitHub <noreply@github.com>2021-12-03 14:46:33 +0300
commitc033ed21b0ad2d850de1c0c2ae14aa4459112632 (patch)
tree98a0ae35f367ae35df280e555ec4dc4b5b1cdc09 /doc/classes/VisualShaderNodeIntFunc.xml
parentacb6d1b0af9c88b9f1e1a4a5ad88fd5f6783cd2c (diff)
parentb12fea5b52e533f456c1e3c61c67bbfd9f8c3201 (diff)
Merge pull request #55576 from Chaosus/vs_new_int_ops
Add bitwise operators to `VisualShaderNodeIntOp`
Diffstat (limited to 'doc/classes/VisualShaderNodeIntFunc.xml')
-rw-r--r--doc/classes/VisualShaderNodeIntFunc.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/classes/VisualShaderNodeIntFunc.xml b/doc/classes/VisualShaderNodeIntFunc.xml
index d2782efa96..316529a347 100644
--- a/doc/classes/VisualShaderNodeIntFunc.xml
+++ b/doc/classes/VisualShaderNodeIntFunc.xml
@@ -23,7 +23,10 @@
<constant name="FUNC_SIGN" value="2" enum="Function">
Extracts the sign of the parameter. Translates to [code]sign(x)[/code] in the Godot Shader Language.
</constant>
- <constant name="FUNC_MAX" value="3" enum="Function">
+ <constant name="FUNC_BITWISE_NOT" value="3" enum="Function">
+ Returns the result of bitwise [code]NOT[/code] operation on the integer. Translates to [code]~a[/code] in the Godot Shader Language.
+ </constant>
+ <constant name="FUNC_MAX" value="4" enum="Function">
Represents the size of the [enum Function] enum.
</constant>
</constants>