ShaderArgsBuilder.setFloat

void setFloat(int idx, float value)

Sets the value of the uniform idx.

The uniform must be of float type.

Parameters

idxindex of the uniform
valuevalue to set the uniform to