You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
472 B
Markdown
16 lines
472 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](/glossary/?search=void), [bool](/glossary/?search=bool), [int](/glossary/?search=int), [float](/glossary/?search=float), [bvec2](/glossary/?search=bvec2), [bvec3](/glossary/?search=bvec3), [bvec4](/glossary/?search=bvec4), [struct](/glossary/?search=struct)
|