<?xml version="1.0" encoding="UTF-8" ?>
<class name="UniformSetCacheRD" inherits="Object" api_type="core" 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>
