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.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/classes/Shader.xml b/doc/classes/Shader.xml
index a2fbf5a1b1..14c5d7a03c 100644
--- a/doc/classes/Shader.xml
+++ b/doc/classes/Shader.xml
@@ -14,7 +14,7 @@
<method name="get_default_texture_param" qualifiers="const">
<return type="Texture2D">
</return>
- <argument index="0" name="param" type="String">
+ <argument index="0" name="param" type="StringName">
</argument>
<description>
Returns the texture that is set as default for the specified parameter.
@@ -31,7 +31,7 @@
<method name="has_param" qualifiers="const">
<return type="bool">
</return>
- <argument index="0" name="name" type="String">
+ <argument index="0" name="name" type="StringName">
</argument>
<description>
Returns [code]true[/code] if the shader has this param defined as a uniform in its code.
@@ -41,7 +41,7 @@
<method name="set_default_texture_param">
<return type="void">
</return>
- <argument index="0" name="param" type="String">
+ <argument index="0" name="param" type="StringName">
</argument>
<argument index="1" name="texture" type="Texture2D">
</argument>