RDUniform
繼承: RefCounted < Object
著色器 Uniform(由 RenderingDevice 使用)。
說明
這個物件由 RenderingDevice 使用。
屬性
|
||
|
方法
void |
|
void |
|
get_ids() const |
屬性說明
Uniform 的綁定。
UniformType uniform_type = 3 🔗
void set_uniform_type(value: UniformType)
UniformType get_uniform_type()
Uniform 的資料型別。
方法說明
Binds the given id to the uniform. The data associated with the id is then used when the uniform is passed to a shader.
void clear_ids() 🔗
Unbinds all ids currently bound to the uniform.
Returns an array of all ids currently bound to the uniform.