virtualx-engine/doc/classes/RDUniform.xml
Hugo Locurcio 5056c427d3
Improve RenderingServer, RenderingDevice, ShaderGlobalsOverride documentation
This brings the overall class reference completion percentage from 87% to 92%.
2023-05-06 22:40:32 +02:00

37 lines
1.1 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<class name="RDUniform" inherits="RefCounted" version="4.1" 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>
<methods>
<method name="add_id">
<return type="void" />
<param index="0" name="id" type="RID" />
<description>
</description>
</method>
<method name="clear_ids">
<return type="void" />
<description>
</description>
</method>
<method name="get_ids" qualifiers="const">
<return type="RID[]" />
<description>
</description>
</method>
</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>