Class RDUniform
Shader uniform (used by RenderingDevice).
- Inheritance
-
RDUniform
Remarks
This object is used by RenderingDevice.
Properties
binding
The uniform's binding.
var binding : int = 0
Property Value
Remarks
uniform_type
The uniform's data type.
var uniform_type : int = 3
Property Value
Remarks
Methods
add_id(RID)
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 add_id(RID id)
Parameters
id
RID
clear_ids
Unbinds all ids currently bound to the uniform.
void clear_ids
get_ids
Qualifiers: const
Returns an array of all ids currently bound to the uniform.
RID[] get_ids