summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-01-09 17:56:44 +0100
committerRémi Verschelde <rverschelde@gmail.com>2024-01-09 17:56:44 +0100
commit60865dab6b905d38fe2128b3dc3509b96376342a (patch)
treed6ff0a356d7e9282d709089b2d593fbcca2cdf71
parentaa0740389a65187a21c1bd922e6d9fc2fe40d486 (diff)
parent45ae95c2be90131b0d7727b863def6801cecbf9e (diff)
downloadredot-engine-60865dab6b905d38fe2128b3dc3509b96376342a.tar.gz
Merge pull request #85336 from DevPoodle/rduniform-descriptions
Add descriptions to all RDUniform methods
-rw-r--r--doc/classes/RDUniform.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/classes/RDUniform.xml b/doc/classes/RDUniform.xml
index 7aab8b2810..77aaf0aae7 100644
--- a/doc/classes/RDUniform.xml
+++ b/doc/classes/RDUniform.xml
@@ -13,16 +13,19 @@
<return type="void" />
<param index="0" name="id" type="RID" />
<description>
+ Binds the given id to the uniform. The data associated with the id is then used when the uniform is passed to a shader.
</description>
</method>
<method name="clear_ids">
<return type="void" />
<description>
+ Unbinds all ids currently bound to the uniform.
</description>
</method>
<method name="get_ids" qualifiers="const">
<return type="RID[]" />
<description>
+ Returns an array of all ids currently bound to the uniform.
</description>
</method>
</methods>