thebookofshaders/glossary/int
2017-08-23 11:34:44 +02:00
..
README.md Remove trailing whitespaces 2017-08-23 11:34:44 +02:00

Int

Integer data type

Declaration

int aInt = 42;
int bInt = int(aBool);
int cInt = int(aFloat);

Description

int is used for integer values.

See Also

void, bool, int, float, ivec2, ivec3, ivec4