thebookofshaders/glossary/not
2020-07-30 14:03:05 +07:00
..
README-vi.md Translate glossary section (partly) and swap all/any page 2020-07-30 14:03:05 +07:00
README.md folder structure for glossary 2016-04-06 11:44:45 -04:00

Not

Logically invert a boolean vector

Declaration

bvec2 not(bvec2 x)  
bvec3 not(bvec3 x)  
bvec4 not(bvec4 x)

Parameters

x specifies the vector to be inverted.

Description

not() logically inverts the boolean vector x. It returns a new boolean vector for which each element i is computed as !x[i].

See Also

any(), all()