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

15 lines
439 B
Markdown

## Bool
Boolean variable type
### Declaration
```glsl
bool aBool = true;
bool bBool = bool(aInt);
bool cBool = bool(aFloat);
```
### Description
```bool``` data type is either true or false.
### See Also
[void](index.html#void.md), [bool](index.html#bool.md), [int](index.html#int.md), [float](index.html#float.md), [bvec2](index.html#bvec2.md), [bvec3](index.html#bvec3.md), [bvec4](index.html#bvec4.md), [struct](index.html#struct.md)