diff --git a/doc/classes/Shader.xml b/doc/classes/Shader.xml index 9b91c746337..2ae3dcc9dd8 100644 --- a/doc/classes/Shader.xml +++ b/doc/classes/Shader.xml @@ -1,10 +1,11 @@ - A custom shader program. + A shader implemented in the Godot shading language. - This class allows you to define a custom shader program that can be used by a [ShaderMaterial]. Shaders allow you to write your own custom behavior for rendering objects or updating particle information. For a detailed explanation and usage, please see the tutorials linked below. + A custom shader program implemented in the Godot shading language, saved with the [code].gdshader[/code] extension. + This class is used by a [ShaderMaterial] and allows you to write your own custom behavior for rendering visual items or updating particle information. For a detailed explanation and usage, please see the tutorials linked below. $DOCS_URL/tutorials/shaders/index.html @@ -23,7 +24,7 @@ - Returns the shader mode for the shader, either [constant MODE_CANVAS_ITEM], [constant MODE_SPATIAL] or [constant MODE_PARTICLES]. + Returns the shader mode for the shader. diff --git a/modules/gdscript/doc_classes/GDScript.xml b/modules/gdscript/doc_classes/GDScript.xml index f383eed4805..b9fcce4883c 100644 --- a/modules/gdscript/doc_classes/GDScript.xml +++ b/modules/gdscript/doc_classes/GDScript.xml @@ -4,7 +4,7 @@ A script implemented in the GDScript programming language. - A script implemented in the GDScript programming language. The script extends the functionality of all objects that instantiate it. + A script implemented in the GDScript programming language, saved with the [code].gd[/code] extension. The script extends the functionality of all objects that instantiate it. Calling [method new] creates a new instance of the script. [method Object.set_script] extends an existing object, if that object's class matches one of the script's base classes. If you are looking for GDScript's built-in functions, see [@GDScript] instead. diff --git a/modules/mono/doc_classes/CSharpScript.xml b/modules/mono/doc_classes/CSharpScript.xml index e8da9d84654..ab14c138119 100644 --- a/modules/mono/doc_classes/CSharpScript.xml +++ b/modules/mono/doc_classes/CSharpScript.xml @@ -1,7 +1,7 @@ - A script implemented in the C# programming language (Mono-enabled builds only). + A script implemented in the C# programming language, saved with the [code].cs[/code] extension (Mono-enabled builds only). This class represents a C# script. It is the C# equivalent of the [GDScript] class and is only available in Mono-enabled Godot builds.