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

Void

Declaration

void main(void);
int aFunction(void);
void bFunction(float);

Description

void is used when a function have no parameters or when a function does not return a value.

See Also

void, bool, int, float