Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
UniformSetCacheRD
Eredita: Object
Gestore di cache di set di uniformi per i renderer basati su Rendering Device.
Descrizione
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.
Metodi
get_cache(shader: RID, set: int, uniforms: Array[RDUniform]) static |
Descrizioni dei metodi
RID get_cache(shader: RID, set: int, uniforms: Array[RDUniform]) static 🔗
Crea e restituisce un set di uniformi memorizzato nella cache in base alle uniformi fornite per lo shader specificato.