thebookofshaders/glossary/void/README.md

15 lines
354 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
```void``` is used when a function have no parameters or when a function does not return a value.
### 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)