summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorYuri Roubinsky <chaosus89@gmail.com>2020-07-10 21:24:25 +0300
committerGitHub <noreply@github.com>2020-07-10 21:24:25 +0300
commit4d2e50eca6f661c0cfb84a2f0b9c9ccd701a9576 (patch)
treede105e4206f3e196b7189b0805990455eac169ad /doc
parent08bbb3f161bfb4860d7574fa77b947872d344e7e (diff)
parentecb5f7ea2366ab372e52b2e5e591daad77a7d7dd (diff)
Merge pull request #36225 from Chaosus/shader_fma
Added 'fma' function to shader language
Diffstat (limited to 'doc')
-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>