Up to date

This page is up to date for Blazium 0.4.90 (4.3). If you still find outdated information, please open an issue.

UniformSetCacheRD๏ƒ

Inherits: Object

Uniform set cache manager for Rendering Device based renderers.

Description๏ƒ

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๏ƒ

RID

get_cache(shader: RID, set: int, uniforms: Array[RDUniform]) static


Method Descriptions๏ƒ

RID get_cache(shader: RID, set: int, uniforms: Array[RDUniform]) static ๐Ÿ”—

Creates/returns a cached uniform set based on the provided uniforms for a given shader.