public static bool IsDirectionalDiffusePixel(LightBinding x)
 {
     return(x.LightShaderType == LightShaderType.DiffusePixel);
 }
 public static bool IsDirectionalDiffuseSpecularPixel(LightBinding x)
 {
     return((x.LightShaderType & LightShaderType.DiffuseSpecularPixel) == LightShaderType.DiffuseSpecularPixel);
 }
 public static bool IsDirectionalDiffuseVertex(LightBinding x)
 {
     return((x.LightShaderType & LightShaderType.DiffuseVertex) == LightShaderType.DiffuseVertex);
 }