From 8191b3c110260f086de390ff38ccc980474ef755 Mon Sep 17 00:00:00 2001 From: Yuri Rubinsky Date: Sat, 27 Aug 2022 12:22:43 +0300 Subject: Rename `uniform` to `parameter` across the engine --- doc/classes/GeometryInstance3D.xml | 8 +- doc/classes/RenderingServer.xml | 110 ++++++++++----------- doc/classes/Shader.xml | 14 +-- doc/classes/ShaderMaterial.xml | 4 +- doc/classes/VisualShaderNodeBooleanParameter.xml | 19 ++++ doc/classes/VisualShaderNodeBooleanUniform.xml | 19 ---- doc/classes/VisualShaderNodeColorParameter.xml | 19 ++++ doc/classes/VisualShaderNodeColorUniform.xml | 19 ---- doc/classes/VisualShaderNodeCubemapParameter.xml | 11 +++ doc/classes/VisualShaderNodeCubemapUniform.xml | 11 --- doc/classes/VisualShaderNodeFloatParameter.xml | 45 +++++++++ doc/classes/VisualShaderNodeFloatUniform.xml | 45 --------- doc/classes/VisualShaderNodeIntParameter.xml | 33 +++++++ doc/classes/VisualShaderNodeIntUniform.xml | 45 --------- doc/classes/VisualShaderNodeParameter.xml | 29 ++++++ doc/classes/VisualShaderNodeParameterRef.xml | 16 +++ .../VisualShaderNodeTexture2DArrayParameter.xml | 9 ++ .../VisualShaderNodeTexture2DArrayUniform.xml | 9 -- doc/classes/VisualShaderNodeTexture2DParameter.xml | 11 +++ doc/classes/VisualShaderNodeTexture3DParameter.xml | 11 +++ doc/classes/VisualShaderNodeTexture3DUniform.xml | 11 --- doc/classes/VisualShaderNodeTextureParameter.xml | 80 +++++++++++++++ .../VisualShaderNodeTextureParameterTriplanar.xml | 11 +++ doc/classes/VisualShaderNodeTextureUniform.xml | 80 --------------- .../VisualShaderNodeTextureUniformTriplanar.xml | 11 --- doc/classes/VisualShaderNodeTransformParameter.xml | 19 ++++ doc/classes/VisualShaderNodeTransformUniform.xml | 19 ---- doc/classes/VisualShaderNodeUniform.xml | 29 ------ doc/classes/VisualShaderNodeUniformRef.xml | 16 --- doc/classes/VisualShaderNodeVec2Parameter.xml | 19 ++++ doc/classes/VisualShaderNodeVec2Uniform.xml | 19 ---- doc/classes/VisualShaderNodeVec3Parameter.xml | 19 ++++ doc/classes/VisualShaderNodeVec3Uniform.xml | 19 ---- doc/classes/VisualShaderNodeVec4Constant.xml | 4 +- doc/classes/VisualShaderNodeVec4Parameter.xml | 19 ++++ doc/classes/VisualShaderNodeVec4Uniform.xml | 19 ---- 36 files changed, 440 insertions(+), 441 deletions(-) create mode 100644 doc/classes/VisualShaderNodeBooleanParameter.xml delete mode 100644 doc/classes/VisualShaderNodeBooleanUniform.xml create mode 100644 doc/classes/VisualShaderNodeColorParameter.xml delete mode 100644 doc/classes/VisualShaderNodeColorUniform.xml create mode 100644 doc/classes/VisualShaderNodeCubemapParameter.xml delete mode 100644 doc/classes/VisualShaderNodeCubemapUniform.xml create mode 100644 doc/classes/VisualShaderNodeFloatParameter.xml delete mode 100644 doc/classes/VisualShaderNodeFloatUniform.xml create mode 100644 doc/classes/VisualShaderNodeIntParameter.xml delete mode 100644 doc/classes/VisualShaderNodeIntUniform.xml create mode 100644 doc/classes/VisualShaderNodeParameter.xml create mode 100644 doc/classes/VisualShaderNodeParameterRef.xml create mode 100644 doc/classes/VisualShaderNodeTexture2DArrayParameter.xml delete mode 100644 doc/classes/VisualShaderNodeTexture2DArrayUniform.xml create mode 100644 doc/classes/VisualShaderNodeTexture2DParameter.xml create mode 100644 doc/classes/VisualShaderNodeTexture3DParameter.xml delete mode 100644 doc/classes/VisualShaderNodeTexture3DUniform.xml create mode 100644 doc/classes/VisualShaderNodeTextureParameter.xml create mode 100644 doc/classes/VisualShaderNodeTextureParameterTriplanar.xml delete mode 100644 doc/classes/VisualShaderNodeTextureUniform.xml delete mode 100644 doc/classes/VisualShaderNodeTextureUniformTriplanar.xml create mode 100644 doc/classes/VisualShaderNodeTransformParameter.xml delete mode 100644 doc/classes/VisualShaderNodeTransformUniform.xml delete mode 100644 doc/classes/VisualShaderNodeUniform.xml delete mode 100644 doc/classes/VisualShaderNodeUniformRef.xml create mode 100644 doc/classes/VisualShaderNodeVec2Parameter.xml delete mode 100644 doc/classes/VisualShaderNodeVec2Uniform.xml create mode 100644 doc/classes/VisualShaderNodeVec3Parameter.xml delete mode 100644 doc/classes/VisualShaderNodeVec3Uniform.xml create mode 100644 doc/classes/VisualShaderNodeVec4Parameter.xml delete mode 100644 doc/classes/VisualShaderNodeVec4Uniform.xml (limited to 'doc/classes') diff --git a/doc/classes/GeometryInstance3D.xml b/doc/classes/GeometryInstance3D.xml index 79a60a9e62..4d8ab91718 100644 --- a/doc/classes/GeometryInstance3D.xml +++ b/doc/classes/GeometryInstance3D.xml @@ -9,9 +9,9 @@ - + - + @@ -22,9 +22,9 @@ Overrides the bounding box of this node with a custom one. To remove it, set an [AABB] with all fields set to zero. - + - + diff --git a/doc/classes/RenderingServer.xml b/doc/classes/RenderingServer.xml index 310e2334fb..3a61e16454 100644 --- a/doc/classes/RenderingServer.xml +++ b/doc/classes/RenderingServer.xml @@ -1250,6 +1250,13 @@ + + + + + Returns the parameters of a shader. + + @@ -1303,45 +1310,45 @@ If [param half_resolution] is [code]true[/code], renders [VoxelGI] and SDFGI ([member Environment.sdfgi_enabled]) buffers at halved resolution (e.g. 960×540 when the viewport size is 1920×1080). This improves performance significantly when VoxelGI or SDFGI is enabled, at the cost of artifacts that may be visible on polygon edges. The loss in quality becomes less noticeable as the viewport resolution increases. [LightmapGI] rendering is not affected by this setting. See also [member ProjectSettings.rendering/global_illumination/gi/use_half_resolution]. - + - + - + - + - - + + - + - + - + @@ -1401,21 +1408,21 @@ Once finished with your RID, you will want to free the RID using the RenderingServer's [method free_rid] static method. - + - + - + @@ -1470,7 +1477,7 @@ Sets a material that will override the material for all surfaces on the mesh associated with this instance. Equivalent to [member GeometryInstance3D.material_override]. - + @@ -2734,30 +2741,23 @@ Returns a shader's code. - + - + Returns a default texture from a shader searched by name. [b]Note:[/b] If the sampler array is used use [param index] to access the specified texture. - + - + - - - - - Returns the parameters of a shader. - - @@ -2765,10 +2765,10 @@ - + - + @@ -4576,63 +4576,63 @@ Culling of the canvas occluder is counterclockwise. - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + diff --git a/doc/classes/Shader.xml b/doc/classes/Shader.xml index b7e6d80ccb..75f835260a 100644 --- a/doc/classes/Shader.xml +++ b/doc/classes/Shader.xml @@ -10,13 +10,13 @@ $DOCS_URL/tutorials/shaders/index.html - + - + Returns the texture that is set as default for the specified parameter. - [b]Note:[/b] [param param] must match the name of the uniform in the code exactly. + [b]Note:[/b] [param name] must match the name of the uniform in the code exactly. [b]Note:[/b] If the sampler array is used use [param index] to access the specified texture. @@ -26,7 +26,7 @@ Returns the shader mode for the shader, either [constant MODE_CANVAS_ITEM], [constant MODE_SPATIAL] or [constant MODE_PARTICLES]. - + @@ -34,14 +34,14 @@ [b]Note:[/b] [param name] must match the name of the uniform in the code exactly. - + - + Sets the default texture to be used with a texture uniform. The default is used if a texture is not set in the [ShaderMaterial]. - [b]Note:[/b] [param param] must match the name of the uniform in the code exactly. + [b]Note:[/b] [param name] must match the name of the uniform in the code exactly. [b]Note:[/b] If the sampler array is used use [param index] to access the specified texture. diff --git a/doc/classes/ShaderMaterial.xml b/doc/classes/ShaderMaterial.xml index 8d4df87b39..1af7ac4fc5 100644 --- a/doc/classes/ShaderMaterial.xml +++ b/doc/classes/ShaderMaterial.xml @@ -10,14 +10,14 @@ $DOCS_URL/tutorials/shaders/index.html - + Returns the current value set for this material of a uniform in the shader. - + diff --git a/doc/classes/VisualShaderNodeBooleanParameter.xml b/doc/classes/VisualShaderNodeBooleanParameter.xml new file mode 100644 index 0000000000..47dae17dba --- /dev/null +++ b/doc/classes/VisualShaderNodeBooleanParameter.xml @@ -0,0 +1,19 @@ + + + + A boolean parameter to be used within the visual shader graph. + + + Translated to [code]uniform bool[/code] in the shader language. + + + + + + A default value to be assigned within the shader. + + + Enables usage of the [member default_value]. + + + diff --git a/doc/classes/VisualShaderNodeBooleanUniform.xml b/doc/classes/VisualShaderNodeBooleanUniform.xml deleted file mode 100644 index 59b331aed2..0000000000 --- a/doc/classes/VisualShaderNodeBooleanUniform.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - A boolean uniform to be used within the visual shader graph. - - - Translated to [code]uniform bool[/code] in the shader language. - - - - - - A default value to be assigned within the shader. - - - Enables usage of the [member default_value]. - - - diff --git a/doc/classes/VisualShaderNodeColorParameter.xml b/doc/classes/VisualShaderNodeColorParameter.xml new file mode 100644 index 0000000000..0cc2285ed4 --- /dev/null +++ b/doc/classes/VisualShaderNodeColorParameter.xml @@ -0,0 +1,19 @@ + + + + A [Color] parameter to be used within the visual shader graph. + + + Translated to [code]uniform vec4[/code] in the shader language. + + + + + + A default value to be assigned within the shader. + + + Enables usage of the [member default_value]. + + + diff --git a/doc/classes/VisualShaderNodeColorUniform.xml b/doc/classes/VisualShaderNodeColorUniform.xml deleted file mode 100644 index 5ca96dc285..0000000000 --- a/doc/classes/VisualShaderNodeColorUniform.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - A [Color] uniform to be used within the visual shader graph. - - - Translated to [code]uniform vec4[/code] in the shader language. - - - - - - A default value to be assigned within the shader. - - - Enables usage of the [member default_value]. - - - diff --git a/doc/classes/VisualShaderNodeCubemapParameter.xml b/doc/classes/VisualShaderNodeCubemapParameter.xml new file mode 100644 index 0000000000..d0d3c79d03 --- /dev/null +++ b/doc/classes/VisualShaderNodeCubemapParameter.xml @@ -0,0 +1,11 @@ + + + + A [Cubemap] parameter node to be used within the visual shader graph. + + + Translated to [code]uniform samplerCube[/code] in the shader language. The output value can be used as port for [VisualShaderNodeCubemap]. + + + + diff --git a/doc/classes/VisualShaderNodeCubemapUniform.xml b/doc/classes/VisualShaderNodeCubemapUniform.xml deleted file mode 100644 index 3f6addd16a..0000000000 --- a/doc/classes/VisualShaderNodeCubemapUniform.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - A [Cubemap] uniform node to be used within the visual shader graph. - - - Translated to [code]uniform samplerCube[/code] in the shader language. The output value can be used as port for [VisualShaderNodeCubemap]. - - - - diff --git a/doc/classes/VisualShaderNodeFloatParameter.xml b/doc/classes/VisualShaderNodeFloatParameter.xml new file mode 100644 index 0000000000..c0fd88294a --- /dev/null +++ b/doc/classes/VisualShaderNodeFloatParameter.xml @@ -0,0 +1,45 @@ + + + + A scalar float parameter to be used within the visual shader graph. + + + Translated to [code]uniform float[/code] in the shader language. + + + + + + A default value to be assigned within the shader. + + + Enables usage of the [member default_value]. + + + A hint applied to the uniform, which controls the values it can take when set through the inspector. + + + Minimum value for range hints. Used if [member hint] is set to [constant HINT_RANGE] or [constant HINT_RANGE_STEP]. + + + Maximum value for range hints. Used if [member hint] is set to [constant HINT_RANGE] or [constant HINT_RANGE_STEP]. + + + Step (increment) value for the range hint with step. Used if [member hint] is set to [constant HINT_RANGE_STEP]. + + + + + No hint used. + + + A range hint for scalar value, which limits possible input values between [member min] and [member max]. Translated to [code]hint_range(min, max)[/code] in shader code. + + + A range hint for scalar value with step, which limits possible input values between [member min] and [member max], with a step (increment) of [member step]). Translated to [code]hint_range(min, max, step)[/code] in shader code. + + + Represents the size of the [enum Hint] enum. + + + diff --git a/doc/classes/VisualShaderNodeFloatUniform.xml b/doc/classes/VisualShaderNodeFloatUniform.xml deleted file mode 100644 index 1616964edb..0000000000 --- a/doc/classes/VisualShaderNodeFloatUniform.xml +++ /dev/null @@ -1,45 +0,0 @@ - - - - A scalar float uniform to be used within the visual shader graph. - - - Translated to [code]uniform float[/code] in the shader language. - - - - - - A default value to be assigned within the shader. - - - Enables usage of the [member default_value]. - - - A hint applied to the uniform, which controls the values it can take when set through the inspector. - - - Minimum value for range hints. Used if [member hint] is set to [constant HINT_RANGE] or [constant HINT_RANGE_STEP]. - - - Maximum value for range hints. Used if [member hint] is set to [constant HINT_RANGE] or [constant HINT_RANGE_STEP]. - - - Step (increment) value for the range hint with step. Used if [member hint] is set to [constant HINT_RANGE_STEP]. - - - - - No hint used. - - - A range hint for scalar value, which limits possible input values between [member min] and [member max]. Translated to [code]hint_range(min, max)[/code] in shader code. - - - A range hint for scalar value with step, which limits possible input values between [member min] and [member max], with a step (increment) of [member step]). Translated to [code]hint_range(min, max, step)[/code] in shader code. - - - Represents the size of the [enum Hint] enum. - - - diff --git a/doc/classes/VisualShaderNodeIntParameter.xml b/doc/classes/VisualShaderNodeIntParameter.xml new file mode 100644 index 0000000000..70335b0c77 --- /dev/null +++ b/doc/classes/VisualShaderNodeIntParameter.xml @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/classes/VisualShaderNodeIntUniform.xml b/doc/classes/VisualShaderNodeIntUniform.xml deleted file mode 100644 index c83bdb5ad6..0000000000 --- a/doc/classes/VisualShaderNodeIntUniform.xml +++ /dev/null @@ -1,45 +0,0 @@ - - - - A scalar integer uniform to be used within the visual shader graph. - - - Translated to [code]uniform int[/code] in the shader language. - - - - - - A default value to be assigned within the shader. - - - Enables usage of the [member default_value]. - - - A hint applied to the uniform, which controls the values it can take when set through the inspector. - - - Minimum value for range hints. Used if [member hint] is set to [constant HINT_RANGE] or [constant HINT_RANGE_STEP]. - - - Maximum value for range hints. Used if [member hint] is set to [constant HINT_RANGE] or [constant HINT_RANGE_STEP]. - - - Step (increment) value for the range hint with step. Used if [member hint] is set to [constant HINT_RANGE_STEP]. - - - - - No hint used. - - - A range hint for scalar value, which limits possible input values between [member min] and [member max]. Translated to [code]hint_range(min, max)[/code] in shader code. - - - A range hint for scalar value with step, which limits possible input values between [member min] and [member max], with a step (increment) of [member step]). Translated to [code]hint_range(min, max, step)[/code] in shader code. - - - Represents the size of the [enum Hint] enum. - - - diff --git a/doc/classes/VisualShaderNodeParameter.xml b/doc/classes/VisualShaderNodeParameter.xml new file mode 100644 index 0000000000..c66022f77d --- /dev/null +++ b/doc/classes/VisualShaderNodeParameter.xml @@ -0,0 +1,29 @@ + + + + A base type for the parameters within the visual shader graph. + + + A parameter represents a variable in the shader which is set externally, i.e. from the [ShaderMaterial]. Parameters are exposed as properties in the [ShaderMaterial] and can be assigned from the inspector or from a script. + + + + + + Name of the parameter, by which it can be accessed through the [ShaderMaterial] properties. + + + + + + + + + + + + + Represents the size of the [enum Qualifier] enum. + + + diff --git a/doc/classes/VisualShaderNodeParameterRef.xml b/doc/classes/VisualShaderNodeParameterRef.xml new file mode 100644 index 0000000000..b2801183ed --- /dev/null +++ b/doc/classes/VisualShaderNodeParameterRef.xml @@ -0,0 +1,16 @@ + + + + A reference to an existing [VisualShaderNodeParameter]. + + + Creating a reference to a [VisualShaderNodeParameter] allows you to reuse this parameter in different shaders or shader stages easily. + + + + + + The name of the parameter which this reference points to. + + + diff --git a/doc/classes/VisualShaderNodeTexture2DArrayParameter.xml b/doc/classes/VisualShaderNodeTexture2DArrayParameter.xml new file mode 100644 index 0000000000..2afaa8e219 --- /dev/null +++ b/doc/classes/VisualShaderNodeTexture2DArrayParameter.xml @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/doc/classes/VisualShaderNodeTexture2DArrayUniform.xml b/doc/classes/VisualShaderNodeTexture2DArrayUniform.xml deleted file mode 100644 index f8ba796c2e..0000000000 --- a/doc/classes/VisualShaderNodeTexture2DArrayUniform.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/doc/classes/VisualShaderNodeTexture2DParameter.xml b/doc/classes/VisualShaderNodeTexture2DParameter.xml new file mode 100644 index 0000000000..5049a63a0e --- /dev/null +++ b/doc/classes/VisualShaderNodeTexture2DParameter.xml @@ -0,0 +1,11 @@ + + + + Provides a 2D texture parameter within the visual shader graph. + + + Translated to [code]uniform sampler2D[/code] in the shader language. + + + + diff --git a/doc/classes/VisualShaderNodeTexture3DParameter.xml b/doc/classes/VisualShaderNodeTexture3DParameter.xml new file mode 100644 index 0000000000..8ad4de9a22 --- /dev/null +++ b/doc/classes/VisualShaderNodeTexture3DParameter.xml @@ -0,0 +1,11 @@ + + + + Provides a 3D texture parameter within the visual shader graph. + + + Translated to [code]uniform sampler3D[/code] in the shader language. + + + + diff --git a/doc/classes/VisualShaderNodeTexture3DUniform.xml b/doc/classes/VisualShaderNodeTexture3DUniform.xml deleted file mode 100644 index 365c7db02e..0000000000 --- a/doc/classes/VisualShaderNodeTexture3DUniform.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - Provides a 3D texture uniform within the visual shader graph. - - - Translated to [code]uniform sampler3D[/code] in the shader language. - - - - diff --git a/doc/classes/VisualShaderNodeTextureParameter.xml b/doc/classes/VisualShaderNodeTextureParameter.xml new file mode 100644 index 0000000000..ad21c4e990 --- /dev/null +++ b/doc/classes/VisualShaderNodeTextureParameter.xml @@ -0,0 +1,80 @@ + + + + Performs a uniform texture lookup within the visual shader graph. + + + Performs a lookup operation on the texture provided as a uniform for the shader. + + + + + + Sets the default color if no texture is assigned to the uniform. + + + Sets the texture filtering mode. See [enum TextureFilter] for options. + + + Sets the texture repeating mode. See [enum TextureRepeat] for options. + + + Defines the type of data provided by the source texture. See [enum TextureType] for options. + + + + + No hints are added to the uniform declaration. + + + Adds [code]source_color[/code] as hint to the uniform declaration for proper sRGB to linear conversion. + + + Adds [code]hint_normal[/code] as hint to the uniform declaration, which internally converts the texture for proper usage as normal map. + + + Adds [code]hint_anisotropy[/code] as hint to the uniform declaration to use for a flowmap. + + + Represents the size of the [enum TextureType] enum. + + + Defaults to fully opaque white color. + + + Defaults to fully opaque black color. + + + Defaults to fully transparent black color. + + + Represents the size of the [enum ColorDefault] enum. + + + + + + + + + + + + + + + + + Represents the size of the [enum TextureFilter] enum. + + + + + + + + + Represents the size of the [enum TextureRepeat] enum. + + + diff --git a/doc/classes/VisualShaderNodeTextureParameterTriplanar.xml b/doc/classes/VisualShaderNodeTextureParameterTriplanar.xml new file mode 100644 index 0000000000..2b019e08d5 --- /dev/null +++ b/doc/classes/VisualShaderNodeTextureParameterTriplanar.xml @@ -0,0 +1,11 @@ + + + + Performs a uniform texture lookup with triplanar within the visual shader graph. + + + Performs a lookup operation on the texture provided as a uniform for the shader, with support for triplanar mapping. + + + + diff --git a/doc/classes/VisualShaderNodeTextureUniform.xml b/doc/classes/VisualShaderNodeTextureUniform.xml deleted file mode 100644 index 9014f79f54..0000000000 --- a/doc/classes/VisualShaderNodeTextureUniform.xml +++ /dev/null @@ -1,80 +0,0 @@ - - - - Performs a uniform texture lookup within the visual shader graph. - - - Performs a lookup operation on the texture provided as a uniform for the shader. - - - - - - Sets the default color if no texture is assigned to the uniform. - - - Sets the texture filtering mode. See [enum TextureFilter] for options. - - - Sets the texture repeating mode. See [enum TextureRepeat] for options. - - - Defines the type of data provided by the source texture. See [enum TextureType] for options. - - - - - No hints are added to the uniform declaration. - - - Adds [code]source_color[/code] as hint to the uniform declaration for proper sRGB to linear conversion. - - - Adds [code]hint_normal[/code] as hint to the uniform declaration, which internally converts the texture for proper usage as normal map. - - - Adds [code]hint_anisotropy[/code] as hint to the uniform declaration to use for a flowmap. - - - Represents the size of the [enum TextureType] enum. - - - Defaults to fully opaque white color. - - - Defaults to fully opaque black color. - - - Defaults to fully transparent black color. - - - Represents the size of the [enum ColorDefault] enum. - - - - - - - - - - - - - - - - - Represents the size of the [enum TextureFilter] enum. - - - - - - - - - Represents the size of the [enum TextureRepeat] enum. - - - diff --git a/doc/classes/VisualShaderNodeTextureUniformTriplanar.xml b/doc/classes/VisualShaderNodeTextureUniformTriplanar.xml deleted file mode 100644 index 72082ef04d..0000000000 --- a/doc/classes/VisualShaderNodeTextureUniformTriplanar.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - Performs a uniform texture lookup with triplanar within the visual shader graph. - - - Performs a lookup operation on the texture provided as a uniform for the shader, with support for triplanar mapping. - - - - diff --git a/doc/classes/VisualShaderNodeTransformParameter.xml b/doc/classes/VisualShaderNodeTransformParameter.xml new file mode 100644 index 0000000000..92aadc4d7c --- /dev/null +++ b/doc/classes/VisualShaderNodeTransformParameter.xml @@ -0,0 +1,19 @@ + + + + A [Transform3D] parameter for use within the visual shader graph. + + + Translated to [code]uniform mat4[/code] in the shader language. + + + + + + A default value to be assigned within the shader. + + + Enables usage of the [member default_value]. + + + diff --git a/doc/classes/VisualShaderNodeTransformUniform.xml b/doc/classes/VisualShaderNodeTransformUniform.xml deleted file mode 100644 index 60678c09e5..0000000000 --- a/doc/classes/VisualShaderNodeTransformUniform.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - A [Transform3D] uniform for use within the visual shader graph. - - - Translated to [code]uniform mat4[/code] in the shader language. - - - - - - A default value to be assigned within the shader. - - - Enables usage of the [member default_value]. - - - diff --git a/doc/classes/VisualShaderNodeUniform.xml b/doc/classes/VisualShaderNodeUniform.xml deleted file mode 100644 index 58d194e9d4..0000000000 --- a/doc/classes/VisualShaderNodeUniform.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - A base type for the uniforms within the visual shader graph. - - - A uniform represents a variable in the shader which is set externally, i.e. from the [ShaderMaterial]. Uniforms are exposed as properties in the [ShaderMaterial] and can be assigned from the inspector or from a script. - - - - - - - - Name of the uniform, by which it can be accessed through the [ShaderMaterial] properties. - - - - - - - - - - - Represents the size of the [enum Qualifier] enum. - - - diff --git a/doc/classes/VisualShaderNodeUniformRef.xml b/doc/classes/VisualShaderNodeUniformRef.xml deleted file mode 100644 index 4b12c6e649..0000000000 --- a/doc/classes/VisualShaderNodeUniformRef.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - A reference to an existing [VisualShaderNodeUniform]. - - - Creating a reference to a [VisualShaderNodeUniform] allows you to reuse this uniform in different shaders or shader stages easily. - - - - - - The name of the uniform which this reference points to. - - - diff --git a/doc/classes/VisualShaderNodeVec2Parameter.xml b/doc/classes/VisualShaderNodeVec2Parameter.xml new file mode 100644 index 0000000000..19cf1baa86 --- /dev/null +++ b/doc/classes/VisualShaderNodeVec2Parameter.xml @@ -0,0 +1,19 @@ + + + + A [Vector2] parameter to be used within the visual shader graph. + + + Translated to [code]uniform vec2[/code] in the shader language. + + + + + + A default value to be assigned within the shader. + + + Enables usage of the [member default_value]. + + + diff --git a/doc/classes/VisualShaderNodeVec2Uniform.xml b/doc/classes/VisualShaderNodeVec2Uniform.xml deleted file mode 100644 index 4ad6279475..0000000000 --- a/doc/classes/VisualShaderNodeVec2Uniform.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - A [Vector2] uniform to be used within the visual shader graph. - - - Translated to [code]uniform vec2[/code] in the shader language. - - - - - - A default value to be assigned within the shader. - - - Enables usage of the [member default_value]. - - - diff --git a/doc/classes/VisualShaderNodeVec3Parameter.xml b/doc/classes/VisualShaderNodeVec3Parameter.xml new file mode 100644 index 0000000000..17d4b31d1a --- /dev/null +++ b/doc/classes/VisualShaderNodeVec3Parameter.xml @@ -0,0 +1,19 @@ + + + + A [Vector3] parameter to be used within the visual shader graph. + + + Translated to [code]uniform vec3[/code] in the shader language. + + + + + + A default value to be assigned within the shader. + + + Enables usage of the [member default_value]. + + + diff --git a/doc/classes/VisualShaderNodeVec3Uniform.xml b/doc/classes/VisualShaderNodeVec3Uniform.xml deleted file mode 100644 index f712c89463..0000000000 --- a/doc/classes/VisualShaderNodeVec3Uniform.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - A [Vector3] uniform to be used within the visual shader graph. - - - Translated to [code]uniform vec3[/code] in the shader language. - - - - - - A default value to be assigned within the shader. - - - Enables usage of the [member default_value]. - - - diff --git a/doc/classes/VisualShaderNodeVec4Constant.xml b/doc/classes/VisualShaderNodeVec4Constant.xml index ed3d8a673d..ddd2f38fb9 100644 --- a/doc/classes/VisualShaderNodeVec4Constant.xml +++ b/doc/classes/VisualShaderNodeVec4Constant.xml @@ -1,10 +1,10 @@ - A 4D vector (represented as a [Quaternion]) constant to be used within the visual shader graph. + A 4D vector constant to be used within the visual shader graph. - A constant 4D vector (represented as a [Quaternion]), which can be used as an input node. + A constant 4D vector, which can be used as an input node. diff --git a/doc/classes/VisualShaderNodeVec4Parameter.xml b/doc/classes/VisualShaderNodeVec4Parameter.xml new file mode 100644 index 0000000000..0e9e7c6b6f --- /dev/null +++ b/doc/classes/VisualShaderNodeVec4Parameter.xml @@ -0,0 +1,19 @@ + + + + A 4D vector parameter to be used within the visual shader graph. + + + Translated to [code]uniform vec4[/code] in the shader language. + + + + + + A default value to be assigned within the shader. + + + Enables usage of the [member default_value]. + + + diff --git a/doc/classes/VisualShaderNodeVec4Uniform.xml b/doc/classes/VisualShaderNodeVec4Uniform.xml deleted file mode 100644 index 5bd13a440b..0000000000 --- a/doc/classes/VisualShaderNodeVec4Uniform.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - A 4D vector (represented as a [Quaternion]) uniform to be used within the visual shader graph. - - - Translated to [code]uniform vec4[/code] in the shader language. - - - - - - A default value to be assigned within the shader. - - - Enables usage of the [member default_value]. - - - -- cgit v1.2.3