diff options
author | Max Hilbrunner <mhilbrunner@users.noreply.github.com> | 2018-05-26 17:07:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-26 17:07:44 +0200 |
commit | 93bfa75ddbfb6eacb22aa7fb36bba063560c805d (patch) | |
tree | 02e75d50134fa199ceba727681fac2510d3a692c /doc/classes/Shader.xml | |
parent | c0d37123050f0bbc04b42f3073ee22a657528190 (diff) | |
parent | b7ae2ca128307f4926a9b380f271469030c06e2a (diff) |
Merge pull request #19172 from BastiaanOlij/docs_ShaderMaterial
Added some quick info on shaders to the docs
Diffstat (limited to 'doc/classes/Shader.xml')
-rw-r--r-- | doc/classes/Shader.xml | 5 |
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"> |