forked from AcademySoftwareFoundation/OpenShadingLanguage
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstrdecls.h
More file actions
151 lines (145 loc) · 4.14 KB
/
strdecls.h
File metadata and controls
151 lines (145 loc) · 4.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
// Copyright Contributors to the Open Shading Language project.
// SPDX-License-Identifier: BSD-3-Clause
// https://github.com/AcademySoftwareFoundation/OpenShadingLanguage
// This file contains "declarations" for all the strings that might get used in
// JITed shader code or in renderer code. But the declaration itself is
// dependent on the STRDECL macro, which should be declared by the outer file
// prior to including this file. Thus, this list may be repurposed and included
// multiple times, with different STRDECL definitions.
#ifndef STRDECL
# error Do not include this file unless STRDECL is defined
#endif
STRDECL("", _emptystring_)
STRDECL("camera", camera)
STRDECL("common", common)
STRDECL("object", object)
STRDECL("shader", shader)
STRDECL("screen", screen)
STRDECL("NDC", NDC)
STRDECL("rgb", rgb)
STRDECL("RGB", RGB)
STRDECL("hsv", hsv)
STRDECL("hsl", hsl)
STRDECL("YIQ", YIQ)
STRDECL("XYZ", XYZ)
STRDECL("xyz", xyz)
STRDECL("xyY", xyY)
STRDECL("null", null)
STRDECL("default", default_)
STRDECL("label", label)
STRDECL("sidedness", sidedness)
STRDECL("front", front)
STRDECL("back", back)
STRDECL("both", both)
STRDECL("P", P)
STRDECL("I", I)
STRDECL("N", N)
STRDECL("Ng", Ng)
STRDECL("dPdu", dPdu)
STRDECL("dPdv", dPdv)
STRDECL("u", u)
STRDECL("v", v)
STRDECL("Ps", Ps)
STRDECL("time", time)
STRDECL("dtime", dtime)
STRDECL("dPdtime", dPdtime)
STRDECL("Ci", Ci)
STRDECL("width", width)
STRDECL("swidth", swidth)
STRDECL("twidth", twidth)
STRDECL("rwidth", rwidth)
STRDECL("blur", blur)
STRDECL("sblur", sblur)
STRDECL("tblur", tblur)
STRDECL("rblur", rblur)
STRDECL("wrap", wrap)
STRDECL("swrap", swrap)
STRDECL("twrap", twrap)
STRDECL("rwrap", rwrap)
STRDECL("black", black)
STRDECL("clamp", clamp)
STRDECL("periodic", periodic)
STRDECL("mirror", mirror)
STRDECL("firstchannel", firstchannel)
STRDECL("fill", fill)
STRDECL("alpha", alpha)
STRDECL("error", error)
STRDECL("errormessage", errormessage)
STRDECL("trace", trace)
STRDECL("mindist", mindist)
STRDECL("maxdist", maxdist)
STRDECL("shade", shade)
STRDECL("traceset", traceset)
STRDECL("interp", interp)
STRDECL("closest", closest)
STRDECL("linear", linear)
STRDECL("cubic", cubic)
STRDECL("catmull-rom", catmullrom)
STRDECL("bezier", bezier)
STRDECL("bspline", bspline)
STRDECL("hermite", hermite)
STRDECL("constant", constant)
STRDECL("smartcubic", smartcubic)
STRDECL("perlin", perlin)
STRDECL("uperlin", uperlin)
STRDECL("noise", noise)
STRDECL("snoise", snoise)
STRDECL("cell", cell)
STRDECL("cellnoise", cellnoise)
STRDECL("pcellnoise", pcellnoise)
STRDECL("hash", hash)
STRDECL("hashnoise", hashnoise)
STRDECL("phashnoise", phashnoise)
STRDECL("pnoise", pnoise)
STRDECL("psnoise", psnoise)
STRDECL("genericnoise", genericnoise)
STRDECL("genericpnoise", genericpnoise)
STRDECL("gabor", gabor)
STRDECL("gabornoise", gabornoise)
STRDECL("gaborpnoise", gaborpnoise)
STRDECL("simplex", simplex)
STRDECL("usimplex", usimplex)
STRDECL("simplexnoise", simplexnoise)
STRDECL("usimplexnoise", usimplexnoise)
STRDECL("anisotropic", anisotropic)
STRDECL("direction", direction)
STRDECL("do_filter", do_filter)
STRDECL("bandwidth", bandwidth)
STRDECL("impulses", impulses)
STRDECL("dowhile", op_dowhile)
STRDECL("for", op_for)
STRDECL("while", op_while)
STRDECL("exit", op_exit)
STRDECL("subimage", subimage)
STRDECL("subimagename", subimagename)
STRDECL("missingcolor", missingcolor)
STRDECL("missingalpha", missingalpha)
STRDECL("end", end)
STRDECL("useparam", useparam)
STRDECL("!!!uninitialized!!!", uninitialized_string)
STRDECL("unull", unull)
STRDECL("raytype", raytype)
STRDECL("color", color)
STRDECL("point", point)
STRDECL("vector", vector)
STRDECL("normal", normal)
STRDECL("matrix", matrix)
STRDECL("Rec709", Rec709)
STRDECL("sRGB", sRGB)
STRDECL("NTSC", NTSC)
STRDECL("EBU", EBU)
STRDECL("PAL", PAL)
STRDECL("SECAM", SECAM)
STRDECL("SMPTE", SMPTE)
STRDECL("HDTV", HDTV)
STRDECL("CIE", CIE)
STRDECL("AdobeRGB", AdobeRGB)
STRDECL("ACES2065-1", ACES2065_1)
STRDECL("ACEScg", ACEScg)
STRDECL("colorspace", colorspace)
STRDECL("colorsystem", colorsystem)
STRDECL("arraylength", arraylength)
STRDECL("unknown", unknown)
STRDECL("ERROR: Unknown color space transformation \"%s\" -> \"%s\"\n",
ErrorColorTransform)
STRDECL("world", world)