setBool

fun setBool(idx: Int, value: Boolean)

Sets the value of the uniform @idx.

The uniform must be of bool type.

Parameters

idx

index of the uniform

value

value to set the uniform to