You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
351 B
Markdown
13 lines
351 B
Markdown
9 years ago
|
## 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
|
||
9 years ago
|
[attribute](/glossary/?search=attribute), [uniform](/glossary/?search=uniform), [varying](/glossary/?search=varying)
|