Example #1
0
 static string GetShaderLangagePost(ShaderLangage lang)
 {
     return(lang == ShaderLangage.CG ? "ENDCG" : "ENDHLSL");
 }
Example #2
0
 static string GetShaderLangagePre(ShaderLangage lang)
 {
     return(lang == ShaderLangage.CG ? "CGPROGRAM" : "HLSLPROGRAM");
 }