thebookofshaders/glossary/bool
2016-04-06 11:44:45 -04:00
..
README.md folder structure for glossary 2016-04-06 11:44:45 -04:00

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