1: // The RenderMan Shading Language Language definition file for Web C Plus Plus
2: // Generated by Mark Williams <markdjwilliams@hotmail.com> using genlang.cgi
3: // genlang.cgi Copyright (C) 2002 Jeffrey Bakker
4:
5: #include "langrenderman.h"
6:
7: LangRenderMan ::LangRenderMan() {
8:
9: fill();
10: init_switches();
11:
12: doCaseKeys = No;
13: doPreProc = Yes;
14: doCinComnt = Yes;
15: doBigComnt = Yes;
16: doUnxComnt = Yes;
17: }
18:
19: void LangRenderMan ::fill() {
20:
21: string K[] = {
22: "break",
23: "color",
24: "continue",
25: "displacement",
26: "else",
27: "environment",
28: "extern",
29: "float",
30: "for",
31: "if",
32: "illuminance",
33: "illuminate",
34: "imager",
35: "light",
36: "matrix",
37: "normal",
38: "output",
39: "point",
40: "return",
41: "shadow",
42: "solar",
43: "string",
44: "surface",
45: "texture",
46: "transformation",
47: "uniform",
48: "varying",
49: "vector",
50: "vertex",
51: "void",
52: "volume",
53: "while"
54: };
55: for(int k=0;k < 32;k++) {keys.push_back(K[k]);}
56: }
57:
| w | e | b | c | p | p |
|
| |||||