1
|
{"version":3,"file":"highlight/rsl.js?v=ac28e6b0d15cd39a5e1b","mappings":"qFAgDAA,EAAOC,QAxCP,SAAaC,GACX,MAAO,CACLC,KAAM,gBACNC,SAAU,CACRC,QACE,2FACFC,SACE,2iBAQJC,QAAS,KACTC,SAAU,CACRN,EAAKO,oBACLP,EAAKQ,qBACLR,EAAKS,kBACLT,EAAKU,iBACLV,EAAKW,cACL,CACEC,UAAW,OACXC,MAAO,IACPC,IAAK,KAEP,CACEF,UAAW,QACXG,cAAe,2CACfD,IAAK,OAEP,CACEC,cAAe,gCACfD,IAAK","sources":["webpack:///text/node_modules/highlight.js/lib/languages/rsl.js"],"sourcesContent":["/*\nLanguage: RenderMan RSL\nAuthor: Konstantin Evdokimenko <qewerty@gmail.com>\nContributors: Shuen-Huei Guan <drake.guan@gmail.com>\nWebsite: https://renderman.pixar.com/resources/RenderMan_20/shadingLanguage.html\nCategory: graphics\n*/\n\nfunction rsl(hljs) {\n return {\n name: 'RenderMan RSL',\n keywords: {\n keyword:\n 'float color point normal vector matrix while for if do return else break extern continue',\n built_in:\n 'abs acos ambient area asin atan atmosphere attribute calculatenormal ceil cellnoise ' +\n 'clamp comp concat cos degrees depth Deriv diffuse distance Du Dv environment exp ' +\n 'faceforward filterstep floor format fresnel incident length lightsource log match ' +\n 'max min mod noise normalize ntransform opposite option phong pnoise pow printf ' +\n 'ptlined radians random reflect refract renderinfo round setcomp setxcomp setycomp ' +\n 'setzcomp shadow sign sin smoothstep specular specularbrdf spline sqrt step tan ' +\n 'texture textureinfo trace transform vtransform xcomp ycomp zcomp'\n },\n illegal: '</',\n contains: [\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n hljs.QUOTE_STRING_MODE,\n hljs.APOS_STRING_MODE,\n hljs.C_NUMBER_MODE,\n {\n className: 'meta',\n begin: '#',\n end: '$'\n },\n {\n className: 'class',\n beginKeywords: 'surface displacement light volume imager',\n end: '\\\\('\n },\n {\n beginKeywords: 'illuminate illuminance gather',\n end: '\\\\('\n }\n ]\n };\n}\n\nmodule.exports = rsl;\n"],"names":["module","exports","hljs","name","keywords","keyword","built_in","illegal","contains","C_LINE_COMMENT_MODE","C_BLOCK_COMMENT_MODE","QUOTE_STRING_MODE","APOS_STRING_MODE","C_NUMBER_MODE","className","begin","end","beginKeywords"],"sourceRoot":""}
|