setFloat

fun setFloat(idx: Int, value: Float)

Sets the value of the uniform @idx.

The uniform must be of float type.

Parameters

idx

index of the uniform

value

value to set the uniform to