setVec2

fun setVec2(idx: <Error class: unknown class>, value: <Error class: unknown class>)

Sets the value of the uniform @idx.

The uniform must be of vec2 type.

Parameters

idx

index of the uniform

value

value to set the uniform too