Logically invert a boolean vector
bvec2 not(bvec2 x)
bvec3 not(bvec3 x)
bvec4 not(bvec4 x)
x
specifies the vector to be inverted.
not()
logically inverts the boolean vector x
. It returns a new boolean vector for which each element i
is computed as !x[i]
.