Class UniformSetCacheRD
Uniform set cache manager for Rendering Device based renderers.
- Inheritance
-
UniformSetCacheRD
Remarks
Uniform set cache manager for Rendering Device 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.
Methods
get_cache(RID, int, RDUniform[])
Qualifiers: static
Creates/returns a cached uniform set based on the provided uniforms for a given shader.
RID get_cache(RID shader, int set, RDUniform[] uniforms)