thebookofshaders/glossary/bool.md
Patricio Gonzalez Vivo 28d7613843 finishing matrix
2015-06-12 12:02:51 -04:00

439 B

Bool

Boolean variable type

Declaration

bool aBool = true;
bool bBool = bool(aInt);
bool cBool = bool(aFloat);

Description

bool data type is either true or false.

See Also

void, bool, int, float, bvec2, bvec3, bvec4, struct