第五章 CG数据类型
5.1 7种基本数据类型:
float | 32位浮点数 |
half | 16位浮点数 |
int | 32位整型 |
fixed | 12位定点数 |
bool | 布尔数据 |
sampler* | 纹理对象的句柄(sampler,sampler1D,sampler2D,sampler3D,samplerCUBE和samplerRECT) |
string | 字符串 |
第五章 CG数据类型
5.1 7种基本数据类型:
float | 32位浮点数 |
half | 16位浮点数 |
int | 32位整型 |
fixed | 12位定点数 |
bool | 布尔数据 |
sampler* | 纹理对象的句柄(sampler,sampler1D,sampler2D,sampler3D,samplerCUBE和samplerRECT) |
string | 字符串 |