graphics shaders : theory and practice 2 命名规范

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

你可能感兴趣的:(graphics shaders : theory and practice 2 命名规范)