summaryrefslogtreecommitdiff
path: root/doc/classes/VisualShaderNodeMix.xml
diff options
context:
space:
mode:
authorYuri Roubinsky <chaosus89@gmail.com>2022-02-02 21:12:45 +0300
committerGitHub <noreply@github.com>2022-02-02 21:12:45 +0300
commitca42bfb2a5c91a52ea14302aa3bbf7292e387b9b (patch)
tree1ee02bd3557c14729b5a02f44854ea208517d777 /doc/classes/VisualShaderNodeMix.xml
parent6ff753675a1c6f86ece68905bdedbf5e81712800 (diff)
parent59af063636b3e17df488ad0d9e059919aa03fcf1 (diff)
Merge pull request #57504 from Chaosus/vs_vector2
Diffstat (limited to 'doc/classes/VisualShaderNodeMix.xml')
-rw-r--r--doc/classes/VisualShaderNodeMix.xml18
1 files changed, 12 insertions, 6 deletions
diff --git a/doc/classes/VisualShaderNodeMix.xml b/doc/classes/VisualShaderNodeMix.xml
index 1ef580a983..8a2f289a11 100644
--- a/doc/classes/VisualShaderNodeMix.xml
+++ b/doc/classes/VisualShaderNodeMix.xml
@@ -15,15 +15,21 @@
</members>
<constants>
<constant name="OP_TYPE_SCALAR" value="0" enum="OpType">
- A scalar type.
+ A floating-point scalar.
</constant>
- <constant name="OP_TYPE_VECTOR" value="1" enum="OpType">
- A vector type.
+ <constant name="OP_TYPE_VECTOR_2D" value="1" enum="OpType">
+ A 2D vector type.
</constant>
- <constant name="OP_TYPE_VECTOR_SCALAR" value="2" enum="OpType">
- A vector type. [code]weight[/code] port is using a scalar type.
+ <constant name="OP_TYPE_VECTOR_2D_SCALAR" value="2" enum="OpType">
+ The [code]a[/code] and [code]b[/code] ports use a 2D vector type. The [code]weight[/code] port uses a scalar type.
</constant>
- <constant name="OP_TYPE_MAX" value="3" enum="OpType">
+ <constant name="OP_TYPE_VECTOR_3D" value="3" enum="OpType">
+ A 3D vector type.
+ </constant>
+ <constant name="OP_TYPE_VECTOR_3D_SCALAR" value="4" enum="OpType">
+ The [code]a[/code] and [code]b[/code] ports use a 3D vector type. The [code]weight[/code] port uses a scalar type.
+ </constant>
+ <constant name="OP_TYPE_MAX" value="5" enum="OpType">
Represents the size of the [enum OpType] enum.
</constant>
</constants>