public static SsShaderType EnumToType(SsColorBlendOperation color, SsAlphaBlendOperation alpha, SsMaterialColorBlendOperation matColor)
 {
     return (SsShaderType)( (int)color | ((int)alpha << (int)SsShaderType.AlphaShift) | ((int)matColor << (int)SsShaderType.MatColShift) );
 }
예제 #2
0
 EnumToType(SsColorBlendOperation color, SsAlphaBlendOperation alpha, SsMaterialColorBlendOperation matColor)
 {
     return((SsShaderType)((int)color | ((int)alpha << (int)SsShaderType.AlphaShift) | ((int)matColor << (int)SsShaderType.MatColShift)));
 }