UniformSetCacheRD
继承: Object
基于渲染设备的渲染器的 uniform 集缓存管理器。
描述
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.
方法
get_cache(shader: RID, set: int, uniforms: Array[RDUniform]) static |
方法说明
RID get_cache(shader: RID, set: int, uniforms: Array[RDUniform]) static 🔗
根据给定着色器提供的 uniform 创建/返回缓存的 uniform 集。