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
414 B
Markdown
16 lines
414 B
Markdown
## Int
|
|
Integer data type
|
|
|
|
### Declaration
|
|
```glsl
|
|
int aInt = 42;
|
|
int bInt = int(aBool);
|
|
int cInt = int(aFloat);
|
|
```
|
|
|
|
### Description
|
|
```int``` is used for integer values.
|
|
|
|
### See Also
|
|
[void](/glossary/?search=void), [bool](/glossary/?search=bool), [int](/glossary/?search=int), [float](/glossary/?search=float), [ivec2](/glossary/?search=ivec2), [ivec3](/glossary/?search=ivec3), [ivec4](/glossary/?search=ivec4)
|