setBool

fun setBool(idx: <Error class: unknown class>, 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