summaryrefslogtreecommitdiff
path: root/doc/classes/RDUniform.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/RDUniform.xml')
-rw-r--r--doc/classes/RDUniform.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/classes/RDUniform.xml b/doc/classes/RDUniform.xml
index e4b7883f02..24701b48a1 100644
--- a/doc/classes/RDUniform.xml
+++ b/doc/classes/RDUniform.xml
@@ -1,8 +1,10 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="RDUniform" inherits="RefCounted" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
<brief_description>
+ Shader uniform (used by [RenderingDevice]).
</brief_description>
<description>
+ This object is used by [RenderingDevice].
</description>
<tutorials>
</tutorials>
@@ -26,8 +28,10 @@
</methods>
<members>
<member name="binding" type="int" setter="set_binding" getter="get_binding" default="0">
+ The uniform's binding.
</member>
<member name="uniform_type" type="int" setter="set_uniform_type" getter="get_uniform_type" enum="RenderingDevice.UniformType" default="3">
+ The uniform's data type.
</member>
</members>
</class>