Files
godot/doc/classes/UniformSetCacheRD.xml
Hugo Locurcio 76d9850b41 Improve Texture*RD, RenderData and LightmapperRD class documentation
- Link to compute texture demo in Texture*RD class documentation.
- Link to related classes in RenderData/RenderSceneData/RenderSceneBuffers.
- Clarify requirements for baking lightmaps in LightmapperRD.
2026-01-01 16:10:34 +01:00

23 lines
1009 B
XML

<?xml version="1.0" encoding="UTF-8" ?>
<class name="UniformSetCacheRD" inherits="Object" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
<brief_description>
Uniform set cache manager for Rendering Device based renderers.
</brief_description>
<description>
Uniform set cache manager for [RenderingDevice]-based renderers. Provides a way to create a uniform set and reuse it in subsequent calls for as long as the uniform set exists. Uniform set will automatically be cleaned up when dependent objects are freed.
</description>
<tutorials>
</tutorials>
<methods>
<method name="get_cache" qualifiers="static">
<return type="RID" />
<param index="0" name="shader" type="RID" />
<param index="1" name="set" type="int" />
<param index="2" name="uniforms" type="RDUniform[]" />
<description>
Creates/returns a cached uniform set based on the provided uniforms for a given shader.
</description>
</method>
</methods>
</class>