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

414 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