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

385 B

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