mirror of
https://github.com/patriciogonzalezvivo/thebookofshaders
synced 2024-11-11 13:10:57 +00:00
13 lines
339 B
Markdown
13 lines
339 B
Markdown
## 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
|
|
[attribute](index.html#attribute.md), [uniform](index.html#uniform.md), [varying](index.html#varying.md) |