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...
RDUniform
Eredita: RefCounted < Object
Uniforme di shader (utilizzato da RenderingDevice).
Descrizione
Questo oggetto è utilizzato dal RenderingDevice.
Proprietà
|
||
|
Metodi
void |
|
void |
|
get_ids() const |
Descrizioni delle proprietà
L'associazione dell'uniforme.
UniformType uniform_type = 3 🔗
void set_uniform_type(value: UniformType)
UniformType get_uniform_type()
Il tipo di dati dell'uniforme.
Descrizioni dei metodi
Associa l'ID specificato all'uniforme. I dati associati all'ID sono quindi utilizzati quando l'uniforme viene passata a uno shader.
void clear_ids() 🔗
Scollega tutti gli ID attualmente associati all'uniforme.
Restituisce un'array di tutti gli id attualmente associati all'uniforme.