结构体着色语言还提供了类似于C 语言中的用户自定义结构体,同样也是使用struct关键字进行声明,基本用法如下所示: struct info { vec3 color; vec3 postion; ...
確定! 回上一頁