summaryrefslogtreecommitdiff
path: root/doc/classes/Shader.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/Shader.xml')
-rw-r--r--doc/classes/Shader.xml5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/classes/Shader.xml b/doc/classes/Shader.xml
index 732881c777..7c07778a05 100644
--- a/doc/classes/Shader.xml
+++ b/doc/classes/Shader.xml
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="Shader" inherits="Resource" category="Core" version="3.1">
<brief_description>
- To be changed, ignore.
+ A custom shader program.
</brief_description>
<description>
- To be changed, ignore.
+ This class allows you to define a custom shader program that can be used for various materials to render objects.
</description>
<tutorials>
http://docs.godotengine.org/en/3.0/tutorials/shading/index.html
@@ -24,6 +24,7 @@
<return type="int" enum="Shader.Mode">
</return>
<description>
+ Returns the shader mode for the shader, eiter [code]MODE_CANVAS_ITEM[/code], [code]MODE_SPATIAL[/code] or [code]MODE_PARTICLES[/code]
</description>
</method>
<method name="has_param" qualifiers="const">