codekingpro/portable-devtools
114k
1"""2 pygments.lexers._usd_builtins3 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~4 5 A collection of known USD-related keywords, attributes, and types.6 7 :copyright: Copyright 2006-2024 by the Pygments team, see AUTHORS.8 :license: BSD, see LICENSE for details.9"""10 11COMMON_ATTRIBUTES = [12 "extent",13 "xformOpOrder",14]15 16KEYWORDS = [17 "class",18 "clips",19 "custom",20 "customData",21 "def",22 "dictionary",23 "inherits",24 "over",25 "payload",26 "references",27 "rel",28 "subLayers",29 "timeSamples",30 "uniform",31 "variantSet",32 "variantSets",33 "variants",34]35 36OPERATORS = [37 "add",38 "append",39 "delete",40 "prepend",41 "reorder",42]43 44SPECIAL_NAMES = [45 "active",46 "apiSchemas",47 "defaultPrim",48 "elementSize",49 "endTimeCode",50 "hidden",51 "instanceable",52 "interpolation",53 "kind",54 "startTimeCode",55 "upAxis",56]57 58TYPES = [59 "asset",60 "bool",61 "color3d",62 "color3f",63 "color3h",64 "color4d",65 "color4f",66 "color4h",67 "double",68 "double2",69 "double3",70 "double4",71 "float",72 "float2",73 "float3",74 "float4",75 "frame4d",76 "half",77 "half2",78 "half3",79 "half4",80 "int",81 "int2",82 "int3",83 "int4",84 "keyword",85 "matrix2d",86 "matrix3d",87 "matrix4d",88 "normal3d",89 "normal3f",90 "normal3h",91 "point3d",92 "point3f",93 "point3h",94 "quatd",95 "quatf",96 "quath",97 "string",98 "syn",99 "token",100 "uchar",101 "uchar2",102 "uchar3",103 "uchar4",104 "uint",105 "uint2",106 "uint3",107 "uint4",108 "usdaType",109 "vector3d",110 "vector3f",111 "vector3h",112]113 