mirror of
https://github.com/patriciogonzalezvivo/thebookofshaders
synced 2024-11-11 13:10:57 +00:00
15 lines
393 B
Markdown
15 lines
393 B
Markdown
## Void
|
|
|
|
### Các phiên bản
|
|
```glsl
|
|
void main(void);
|
|
int aFunction(void);
|
|
void bFunction(float);
|
|
```
|
|
|
|
### Mô tả
|
|
```void``` is used when a function has no parameters or when a function does not return a value.
|
|
|
|
### Tham khảo thêm
|
|
[void](/glossary/?lan=vi&search=void), [bool](/glossary/?lan=vi&search=bool), [int](/glossary/?lan=vi&search=int), [float](/glossary/?lan=vi&search=float)
|