source: node_modules/highlight.js/lib/languages/rib.js@ e48199a

main
Last change on this file since e48199a was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 1.7 KB
Line 
1/*
2Language: RenderMan RIB
3Author: Konstantin Evdokimenko <qewerty@gmail.com>
4Contributors: Shuen-Huei Guan <drake.guan@gmail.com>
5Website: https://renderman.pixar.com/resources/RenderMan_20/ribBinding.html
6Category: graphics
7*/
8
9function rib(hljs) {
10 return {
11 name: 'RenderMan RIB',
12 keywords:
13 'ArchiveRecord AreaLightSource Atmosphere Attribute AttributeBegin AttributeEnd Basis ' +
14 'Begin Blobby Bound Clipping ClippingPlane Color ColorSamples ConcatTransform Cone ' +
15 'CoordinateSystem CoordSysTransform CropWindow Curves Cylinder DepthOfField Detail ' +
16 'DetailRange Disk Displacement Display End ErrorHandler Exposure Exterior Format ' +
17 'FrameAspectRatio FrameBegin FrameEnd GeneralPolygon GeometricApproximation Geometry ' +
18 'Hider Hyperboloid Identity Illuminate Imager Interior LightSource ' +
19 'MakeCubeFaceEnvironment MakeLatLongEnvironment MakeShadow MakeTexture Matte ' +
20 'MotionBegin MotionEnd NuPatch ObjectBegin ObjectEnd ObjectInstance Opacity Option ' +
21 'Orientation Paraboloid Patch PatchMesh Perspective PixelFilter PixelSamples ' +
22 'PixelVariance Points PointsGeneralPolygons PointsPolygons Polygon Procedural Projection ' +
23 'Quantize ReadArchive RelativeDetail ReverseOrientation Rotate Scale ScreenWindow ' +
24 'ShadingInterpolation ShadingRate Shutter Sides Skew SolidBegin SolidEnd Sphere ' +
25 'SubdivisionMesh Surface TextureCoordinates Torus Transform TransformBegin TransformEnd ' +
26 'TransformPoints Translate TrimCurve WorldBegin WorldEnd',
27 illegal: '</',
28 contains: [
29 hljs.HASH_COMMENT_MODE,
30 hljs.C_NUMBER_MODE,
31 hljs.APOS_STRING_MODE,
32 hljs.QUOTE_STRING_MODE
33 ]
34 };
35}
36
37module.exports = rib;
Note: See TracBrowser for help on using the repository browser.