/* NVidia's Cg for Xcode by Alexander Streit, 2005 */ ( { Identifier = cg; Name = "Cg Shader"; Description = "Cg Shading Language"; BasedOn = "pbx_root_language"; SourceScannerClassName = PBXCPPSourceScanner; SupportsIndentation = YES; Indentation = { }; SyntaxColoring = { CaseSensitive = YES; UnicodeSymbols = NO; IndexedSymbols = YES; CommentsCanBeNested = YES; IdentifierStartChars = "_"; IdentifierChars = "_"; MultiLineComment = ( ( "/*", "*/" ) ); String = ( ( "\"", "\"" ) ); EscapeCharacter = "\\"; Character = ( ( "'", "'" ) ); SingleLineComment = ( "//" ); Keywords = ( "asm", "asm_fragment", "auto", "bool", "break", "case", "catch", "char", "class", "column", "major", "compile", "const", "const_cast", "continue", "decl", "default", "delete", "discard", "do", "double", "dword", "dynamic_cast", "else", "emit", "enum", "explicit", "extern", "false", "fixed", "float", "for", "friend", "get", "goto", "half", "if", "in", "inline", "inout", "int", "interface", "long", "matrix", "main", "mutable", "namespace", "new", "operator", "out", "packed", "pass", "pixelfragment", "pixelshader", "private", "protected", "public", "register", "reinterpret_cast", "return", "row", "major", "sampler", "sampler_state", "sampler1D", "sampler2D", "sampler3D", "samplerCUBE", "shared", "short", "signed", "sizeof", "static", "static_cast", "string", "struct", "switch", "technique", "template", "texture", "texture1D", "texture2D", "texture3D", "textureCUBE", "textureRECT", "this", "throw", "true", "try", "typedef", "typeid", "typename", "uniform", "union", "unsigned", "using", "vector", "vertexfragment", "vertexshader", "virtual", "void", "volatile", "while", "__identifier", "bool4", "bool3", "bool2", "bool1", "float4", "float3", "float2", "float1", "float1x1", "float2x3", "float4x2", "float4x4" ); AltKeywords = ( "abs", "acos", "all", "any", "asin", "atan", "atan2", "ceil", "clamp", "cos", "cosh", "cross", "degress", "determinant", "dot", "exp", "exp2", "floor", "fmod", "frac", "frexp", "isfinite", "isinf", "isnan", "ldexp", "lerp", "lit", "log", "log2", "log10", "max", "min", "modf", "mul", "noise", "pow", "radians", "round", "rsqrt", "sign", "sin", "sincos", "sinh", "smoothstep", "step", "sqrt", "tan", "tanh", "transpose", "distance", "faceforward", "length", "normalize", "reflect", "refract", "tex1D", "tex1Dproj", "tex2D", "tex2Dproj", "texRECT", "texRECTproj", "tex3D", "tex3Dproj", "texCUBE", "texCUBEproj", "ddx", "ddy", "debug" ); PreprocessorKeywordStart = "#"; PreprocessorKeywords = ( "define", "elif", "else", "endif", "error", "if", "ifdef", "ifndef", "include", "pragma", "undef" ); }; }, )