现在的位置: 首页 > 综合 > 正文

graphics shaders : theory and practice 2 命名规范

2018年05月27日 ⁄ 综合 ⁄ 共 248字 ⁄ 字号 评论关闭

Prefix 
a Attribute (from application)   aColor
u Uniform (from application)   uModelViewMatrix
v Vertex Shader                       vST
tc Tessellation Control Shader tcRadius
te Tessellation Evaluation Shader teNormal
g Geometry Shader                   gNormal
f Fragment Shader                   fFragColor

【上篇】
【下篇】

抱歉!评论已关闭.