Add bitwise operators to VisualShaderNodeIntOp

This commit is contained in:
Yuri Roubinsky
2021-12-03 11:35:38 +03:00
parent 1f666a972f
commit b12fea5b52
5 changed files with 57 additions and 5 deletions
+4 -1
View File
@@ -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>