Class reference
RDUniform
Inherits RefCounted
Shader uniform (used by RenderingDevice).
Description
This object is used by RenderingDevice.
Properties
Methods
void add_id(RID id)
RID id)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.
RID[] get_ids() const
Returns an array of all ids currently bound to the uniform.