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.
14 lines
367 B
Markdown
14 lines
367 B
Markdown
4 years ago
|
## Const
|
||
|
Qualifier đánh dấu một hằng số
|
||
|
|
||
|
### Ví dụ
|
||
|
```glsl
|
||
|
const float PI = 3.14159265359;
|
||
|
```
|
||
|
|
||
|
### Mô tả
|
||
|
```const``` khiến cho giá trị của một biến không thể bị thay đổi
|
||
|
|
||
|
### Tham khảo thêm
|
||
|
[attribute](/glossary/?lan=vi&search=attribute), [uniform](/glossary/?lan=vi&search=uniform), [varying](/glossary/?lan=vi&search=varying)
|