mirror of
https://github.com/LearnOpenGL-CN/LearnOpenGL-CN.git
synced 2025-08-23 04:35:28 +08:00
Update 05 Shaders.md
This commit is contained in:
@@ -52,7 +52,7 @@ std::cout << "Maximum nr of vertex attributes supported: " << nrAttributes << st
|
||||
|
||||
### 向量
|
||||
|
||||
GLSL中的向量是一个可以包含有1、2、3或者4个分量的容器,分量的类型可以是前面默认基础类型的任意一个。它们可以是下面的形式(`n`代表分量的数量):
|
||||
GLSL中的向量是一个可以包含有2、3或者4个分量的容器,分量的类型可以是前面默认基础类型的任意一个。它们可以是下面的形式(`n`代表分量的数量):
|
||||
|
||||
类型|含义
|
||||
---|---
|
||||
|
Reference in New Issue
Block a user