thebookofshaders/glossary/bool
Kvmilos 492438da42 added translations to Polish 2025-02-06 00:44:27 +01:00
..
README-pl.md added translations to Polish 2025-02-06 00:44:27 +01:00
README-ua.md add ukrainian translation 2023-08-06 20:36:42 +03:00
README-vi.md Translate glossary section (partly) and swap all/any page 2020-07-30 14:03:05 +07:00
README.md Remove trailing whitespaces 2017-08-23 11:34:44 +02:00

README.md

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