summaryrefslogtreecommitdiff
path: root/doc/classes/Shader.xml
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-02-12 09:59:06 +0100
committerRémi Verschelde <rverschelde@gmail.com>2020-02-12 12:37:13 +0100
commit0e3d6257377d9f73520e5ccdb7677fde23be3398 (patch)
tree900f2168fcdaadf1fe3532186bbfef273701fd51 /doc/classes/Shader.xml
parent0c7fc80cc19fe9cd609b145245b1bb70f6a41e2e (diff)
doc: Sync classref with current source
Lots of internal API changes and some docstrings were lost in the conversion. I manually salvaged many of them but for all the rendering-related ones, an additional pass is needed. Added missing enum bindings in BaseMaterial3D and VisualServer.
Diffstat (limited to 'doc/classes/Shader.xml')
-rw-r--r--doc/classes/Shader.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/Shader.xml b/doc/classes/Shader.xml
index cab906ee25..a2fbf5a1b1 100644
--- a/doc/classes/Shader.xml
+++ b/doc/classes/Shader.xml
@@ -12,7 +12,7 @@
</tutorials>
<methods>
<method name="get_default_texture_param" qualifiers="const">
- <return type="Texture">
+ <return type="Texture2D">
</return>
<argument index="0" name="param" type="String">
</argument>
@@ -43,7 +43,7 @@
</return>
<argument index="0" name="param" type="String">
</argument>
- <argument index="1" name="texture" type="Texture">
+ <argument index="1" name="texture" type="Texture2D">
</argument>
<description>
Sets the default texture to be used with a texture uniform. The default is used if a texture is not set in the [ShaderMaterial].