thebookofshaders/glossary/const/README.md

14 lines
352 B
Markdown
Raw Normal View History

2015-06-12 16:02:51 +00:00
## Const
Constant qualifier
### Example
```glsl
const float PI = 3.14159265359;
```
### Description
```const``` qualifier can be applied to the declaration of any variable to specify that its value will not be changed.
### See also
2017-08-19 10:11:58 +00:00
[attribute](/glossary/?search=attribute), [uniform](/glossary/?search=uniform), [varying](/glossary/?search=varying)