mirror of
https://github.com/patriciogonzalezvivo/thebookofshaders
synced 2024-11-03 23:15:23 +00:00
15 lines
354 B
Markdown
15 lines
354 B
Markdown
## 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
|
|
[void](/glossary/?search=void), [bool](/glossary/?search=bool), [int](/glossary/?search=int), [float](/glossary/?search=float)
|