From 88b2afa28fe7ab91596d3d2517e0eb24545846fb Mon Sep 17 00:00:00 2001 From: Yuri Roubinsky Date: Fri, 28 Jan 2022 21:36:10 +0300 Subject: [VisualShader] Merge scalar and vector derivative functions into one --- doc/classes/VisualShaderNodeDerivativeFunc.xml | 42 ++++++++++++++++++++++ .../VisualShaderNodeScalarDerivativeFunc.xml | 30 ---------------- .../VisualShaderNodeVectorDerivativeFunc.xml | 30 ---------------- 3 files changed, 42 insertions(+), 60 deletions(-) create mode 100644 doc/classes/VisualShaderNodeDerivativeFunc.xml delete mode 100644 doc/classes/VisualShaderNodeScalarDerivativeFunc.xml delete mode 100644 doc/classes/VisualShaderNodeVectorDerivativeFunc.xml (limited to 'doc/classes') diff --git a/doc/classes/VisualShaderNodeDerivativeFunc.xml b/doc/classes/VisualShaderNodeDerivativeFunc.xml new file mode 100644 index 0000000000..f7edac8597 --- /dev/null +++ b/doc/classes/VisualShaderNodeDerivativeFunc.xml @@ -0,0 +1,42 @@ + + + + Calculates a derivative within the visual shader graph. + + + This node is only available in [code]Fragment[/code] and [code]Light[/code] visual shaders. + + + + + + A derivative function type. See [enum Function] for options. + + + A type of operands and returned value. See [enum OpType] for options. + + + + + A floating-point scalar. + + + A 3D vector type. + + + Represents the size of the [enum OpType] enum. + + + Sum of absolute derivative in [code]x[/code] and [code]y[/code]. + + + Derivative in [code]x[/code] using local differencing. + + + Derivative in [code]y[/code] using local differencing. + + + Represents the size of the [enum Function] enum. + + + diff --git a/doc/classes/VisualShaderNodeScalarDerivativeFunc.xml b/doc/classes/VisualShaderNodeScalarDerivativeFunc.xml deleted file mode 100644 index 8d108a5d28..0000000000 --- a/doc/classes/VisualShaderNodeScalarDerivativeFunc.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - Calculates a scalar derivative within the visual shader graph. - - - This node is only available in [code]Fragment[/code] and [code]Light[/code] visual shaders. - - - - - - The derivative type. See [enum Function] for options. - - - - - Sum of absolute derivative in [code]x[/code] and [code]y[/code]. - - - Derivative in [code]x[/code] using local differencing. - - - Derivative in [code]y[/code] using local differencing. - - - Represents the size of the [enum Function] enum. - - - diff --git a/doc/classes/VisualShaderNodeVectorDerivativeFunc.xml b/doc/classes/VisualShaderNodeVectorDerivativeFunc.xml deleted file mode 100644 index e0c7c8618c..0000000000 --- a/doc/classes/VisualShaderNodeVectorDerivativeFunc.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - Calculates a vector derivative within the visual shader graph. - - - This node is only available in [code]Fragment[/code] and [code]Light[/code] visual shaders. - - - - - - A derivative type. See [enum Function] for options. - - - - - Sum of absolute derivative in [code]x[/code] and [code]y[/code]. - - - Derivative in [code]x[/code] using local differencing. - - - Derivative in [code]y[/code] using local differencing. - - - Represents the size of the [enum Function] enum. - - - -- cgit v1.2.3