UniformSetCacheRD
Uniform set cache manager for Rendering Device based renderers.
Uniform set cache manager for Rendering Device based renderers.
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.
Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.
Constructors1
UniformSetCacheRDConstructor
public UniformSetCacheRD();Methods1
GetCacheRid
public static Rid GetCache(Rid shader, uint set, Reckfell.Collections.Array<RDUniform> uniforms);Creates/returns a cached uniform set based on the provided uniforms for a given shader.
| Name | Type | Default |
|---|---|---|
shader | Rid | — |
set | uint | — |
uniforms | Reckfell.Collections.Array<RDUniform> | — |
Returns
RidReckfell Engine documentationBack to top ↑