thebookofshaders/glossary/void
2017-12-17 20:55:02 +00:00
..
README.md Update void glossary docs 2017-12-17 20:55:02 +00:00

Void

Declaration

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

Description

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

See Also

void, bool, int, float