summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorYuri Roubinsky <chaosus89@gmail.com>2020-02-14 23:09:53 +0300
committerYuri Roubinsky <chaosus89@gmail.com>2020-07-10 19:58:03 +0300
commitecb5f7ea2366ab372e52b2e5e591daad77a7d7dd (patch)
treee6aea70f15070d9fdd9683da8f2ae846612a4c7e /doc/classes
parent70e21154f0416c13655ad8ce176a1b899a5e70d2 (diff)
Added 'fma' function to shader language
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/VisualShaderNodeMultiplyAdd.xml29
1 files changed, 29 insertions, 0 deletions
diff --git a/doc/classes/VisualShaderNodeMultiplyAdd.xml b/doc/classes/VisualShaderNodeMultiplyAdd.xml
new file mode 100644
index 0000000000..ba79b3fe8f
--- /dev/null
+++ b/doc/classes/VisualShaderNodeMultiplyAdd.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<class name="VisualShaderNodeMultiplyAdd" inherits="VisualShaderNode" version="4.0">
+ <brief_description>
+ Performs a fused multiply-add operation within the visual shader graph.
+ </brief_description>
+ <description>
+ Uses three operands to compute [code](a * b + c)[/code] expression.
+ </description>
+ <tutorials>
+ </tutorials>
+ <methods>
+ </methods>
+ <members>
+ <member name="type" type="int" setter="set_type" getter="get_type" enum="VisualShaderNodeMultiplyAdd.Type" default="0">
+ A type of operands and returned value.
+ </member>
+ </members>
+ <constants>
+ <constant name="TYPE_SCALAR" value="0" enum="Type">
+ A scalar type.
+ </constant>
+ <constant name="TYPE_VECTOR" value="1" enum="Type">
+ A vector type.
+ </constant>
+ <constant name="TYPE_MAX" value="2" enum="Type">
+ Represents the size of the [enum Type] enum.
+ </constant>
+ </constants>
+</class>