thebookofshaders/glossary/int
2016-04-06 11:44:45 -04:00
..
README.md folder structure for glossary 2016-04-06 11:44:45 -04: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