/* OpenGL Shading Language for Xcode by Matthias Biedermann, 2006 based on Alexander Streit's Cg specification (http://sky.fit.qut.edu.au/~streit/xcode.cg.html) */ ( { Identifier = glsl; Name = "GLSL Shader"; Description = "OpenGL 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 = ( "attribute", "const", "bool", "float", "int", "break", "continue", "do", "else", "for", "if", "discard", "return", "bvec2", "bvec3", "bvec4", "ivec2", "ivec3", "ivec4", "vec2", "vec3", "vec4", "mat2", "mat3", "mat4", "in", "out", "inout", "uniform", "varying", "sampler1D", "sampler2D", "sampler3D", "samplerCUBE", "sampler1DShadow", "sampler2DShadow", "struct", "void", "while" ); AltKeywords = ( "radians", "degrees", "sin", "cos", "tan", "asin", "acos", "atan", "pow", "exp", "log", "exp2", "log2", "sqrt", "inversesqrt", "abs", "sign", "floor", "ceil", "fract", "mod", "min", "max", "clamp", "mix", "step", "smoothstep", "length", "distance", "dot", "cross", "normalize", "ftransform", "faceforward", "reflect", "refract", "matrixCompMult", "lessThan", "lessThanEqual", "greaterThan", "greaterThanEqual", "equal", "notEqual", "any", "all", "not", "texture1D", "texture1DProj", "texture1DLod", "texture1DProjLod", "texture2D", "texture2DProj", "texture2DLod", "texture2DProjLod", "texture3D", "texture3DProj", "texture3DLod", "texture3DProjLod", "textureCube", "textureCubeLod", "shadow1D", "shadow2D", "shadow1DProj", "shadow2DProj", "shadow1DLod", "shadow2DLod", "shadow1DProjLod", "shadow2DProjLod", "dFdx", "dFdy", "fwidth", "noise1", "noise2", "noise3", "noise4", "__LINE__", "__FILE__", "__VERSION__" ); PreprocessorKeywordStart = "#"; PreprocessorKeywords = ( "define", "elif", "else", "endif", "if", "ifdef", "ifndef", "error", "line", "pragma", "version", "extension", ); }; }, )