thebookofshaders/glossary/void/README.md

15 lines
353 B
Markdown
Raw Normal View History

2015-06-12 16:02:51 +00:00
## Void
### Declaration
```glsl
void main(void);
int aFunction(void);
void bFunction(float);
```
### Description
2017-12-12 21:43:46 +00:00
```void``` is used when a function has no parameters or when a function does not return a value.
2015-06-12 16:02:51 +00:00
### See Also
2017-08-19 10:11:58 +00:00
[void](/glossary/?search=void), [bool](/glossary/?search=bool), [int](/glossary/?search=int), [float](/glossary/?search=float)