diff options
author | Csaba Hruska <csaba.hruska@gmail.com> | 2016-03-29 13:32:16 +0200 |
---|---|---|
committer | Csaba Hruska <csaba.hruska@gmail.com> | 2016-03-29 13:32:16 +0200 |
commit | e51c5722747d44946d730f9065901da35694c422 (patch) | |
tree | 51eeb63d15186c229f981424203b30fcd0b37e55 /ddl/out/LambdaCube.IR.cs | |
parent | d720ed7cd0720668f87053728519cbcac326940e (diff) |
make C# classes public
Diffstat (limited to 'ddl/out/LambdaCube.IR.cs')
-rw-r--r-- | ddl/out/LambdaCube.IR.cs | 262 |
1 files changed, 131 insertions, 131 deletions
diff --git a/ddl/out/LambdaCube.IR.cs b/ddl/out/LambdaCube.IR.cs index 886eb3b..e8216a6 100644 --- a/ddl/out/LambdaCube.IR.cs +++ b/ddl/out/LambdaCube.IR.cs | |||
@@ -1,5 +1,5 @@ | |||
1 | // generated file, do not modify! | 1 | // generated file, do not modify! |
2 | // 2016-03-27T21:14:11.531713000000Z | 2 | // 2016-03-29T11:30:12.412728000000Z |
3 | 3 | ||
4 | using System; | 4 | using System; |
5 | using System.Linq; | 5 | using System.Linq; |
@@ -8,7 +8,7 @@ using Newtonsoft.Json.Linq; | |||
8 | 8 | ||
9 | 9 | ||
10 | namespace LambdaCube.IR { | 10 | namespace LambdaCube.IR { |
11 | class ArrayValue { | 11 | public class ArrayValue { |
12 | public enum Tag { | 12 | public enum Tag { |
13 | VBoolArray, | 13 | VBoolArray, |
14 | VIntArray, | 14 | VIntArray, |
@@ -19,24 +19,24 @@ namespace LambdaCube.IR { | |||
19 | }; | 19 | }; |
20 | 20 | ||
21 | namespace data { | 21 | namespace data { |
22 | class VBoolArray : LambdaCube.IR.ArrayValue { | 22 | public class VBoolArray : LambdaCube.IR.ArrayValue { |
23 | public List<bool> _0; | 23 | public List<bool> _0; |
24 | public VBoolArray() { tag = LambdaCube.IR.ArrayValue.Tag.VBoolArray; } | 24 | public VBoolArray() { tag = LambdaCube.IR.ArrayValue.Tag.VBoolArray; } |
25 | }; | 25 | }; |
26 | class VIntArray : LambdaCube.IR.ArrayValue { | 26 | public class VIntArray : LambdaCube.IR.ArrayValue { |
27 | public List<int> _0; | 27 | public List<int> _0; |
28 | public VIntArray() { tag = LambdaCube.IR.ArrayValue.Tag.VIntArray; } | 28 | public VIntArray() { tag = LambdaCube.IR.ArrayValue.Tag.VIntArray; } |
29 | }; | 29 | }; |
30 | class VWordArray : LambdaCube.IR.ArrayValue { | 30 | public class VWordArray : LambdaCube.IR.ArrayValue { |
31 | public List<uint> _0; | 31 | public List<uint> _0; |
32 | public VWordArray() { tag = LambdaCube.IR.ArrayValue.Tag.VWordArray; } | 32 | public VWordArray() { tag = LambdaCube.IR.ArrayValue.Tag.VWordArray; } |
33 | }; | 33 | }; |
34 | class VFloatArray : LambdaCube.IR.ArrayValue { | 34 | public class VFloatArray : LambdaCube.IR.ArrayValue { |
35 | public List<float> _0; | 35 | public List<float> _0; |
36 | public VFloatArray() { tag = LambdaCube.IR.ArrayValue.Tag.VFloatArray; } | 36 | public VFloatArray() { tag = LambdaCube.IR.ArrayValue.Tag.VFloatArray; } |
37 | }; | 37 | }; |
38 | } | 38 | } |
39 | class Value { | 39 | public class Value { |
40 | public enum Tag { | 40 | public enum Tag { |
41 | VBool, | 41 | VBool, |
42 | VV2B, | 42 | VV2B, |
@@ -68,108 +68,108 @@ namespace LambdaCube.IR { | |||
68 | }; | 68 | }; |
69 | 69 | ||
70 | namespace data { | 70 | namespace data { |
71 | class VBool : LambdaCube.IR.Value { | 71 | public class VBool : LambdaCube.IR.Value { |
72 | public bool _0; | 72 | public bool _0; |
73 | public VBool() { tag = LambdaCube.IR.Value.Tag.VBool; } | 73 | public VBool() { tag = LambdaCube.IR.Value.Tag.VBool; } |
74 | }; | 74 | }; |
75 | class VV2B : LambdaCube.IR.Value { | 75 | public class VV2B : LambdaCube.IR.Value { |
76 | public V2<bool> _0; | 76 | public V2<bool> _0; |
77 | public VV2B() { tag = LambdaCube.IR.Value.Tag.VV2B; } | 77 | public VV2B() { tag = LambdaCube.IR.Value.Tag.VV2B; } |
78 | }; | 78 | }; |
79 | class VV3B : LambdaCube.IR.Value { | 79 | public class VV3B : LambdaCube.IR.Value { |
80 | public V3<bool> _0; | 80 | public V3<bool> _0; |
81 | public VV3B() { tag = LambdaCube.IR.Value.Tag.VV3B; } | 81 | public VV3B() { tag = LambdaCube.IR.Value.Tag.VV3B; } |
82 | }; | 82 | }; |
83 | class VV4B : LambdaCube.IR.Value { | 83 | public class VV4B : LambdaCube.IR.Value { |
84 | public V4<bool> _0; | 84 | public V4<bool> _0; |
85 | public VV4B() { tag = LambdaCube.IR.Value.Tag.VV4B; } | 85 | public VV4B() { tag = LambdaCube.IR.Value.Tag.VV4B; } |
86 | }; | 86 | }; |
87 | class VWord : LambdaCube.IR.Value { | 87 | public class VWord : LambdaCube.IR.Value { |
88 | public uint _0; | 88 | public uint _0; |
89 | public VWord() { tag = LambdaCube.IR.Value.Tag.VWord; } | 89 | public VWord() { tag = LambdaCube.IR.Value.Tag.VWord; } |
90 | }; | 90 | }; |
91 | class VV2U : LambdaCube.IR.Value { | 91 | public class VV2U : LambdaCube.IR.Value { |
92 | public V2<uint> _0; | 92 | public V2<uint> _0; |
93 | public VV2U() { tag = LambdaCube.IR.Value.Tag.VV2U; } | 93 | public VV2U() { tag = LambdaCube.IR.Value.Tag.VV2U; } |
94 | }; | 94 | }; |
95 | class VV3U : LambdaCube.IR.Value { | 95 | public class VV3U : LambdaCube.IR.Value { |
96 | public V3<uint> _0; | 96 | public V3<uint> _0; |
97 | public VV3U() { tag = LambdaCube.IR.Value.Tag.VV3U; } | 97 | public VV3U() { tag = LambdaCube.IR.Value.Tag.VV3U; } |
98 | }; | 98 | }; |
99 | class VV4U : LambdaCube.IR.Value { | 99 | public class VV4U : LambdaCube.IR.Value { |
100 | public V4<uint> _0; | 100 | public V4<uint> _0; |
101 | public VV4U() { tag = LambdaCube.IR.Value.Tag.VV4U; } | 101 | public VV4U() { tag = LambdaCube.IR.Value.Tag.VV4U; } |
102 | }; | 102 | }; |
103 | class VInt : LambdaCube.IR.Value { | 103 | public class VInt : LambdaCube.IR.Value { |
104 | public int _0; | 104 | public int _0; |
105 | public VInt() { tag = LambdaCube.IR.Value.Tag.VInt; } | 105 | public VInt() { tag = LambdaCube.IR.Value.Tag.VInt; } |
106 | }; | 106 | }; |
107 | class VV2I : LambdaCube.IR.Value { | 107 | public class VV2I : LambdaCube.IR.Value { |
108 | public V2<int> _0; | 108 | public V2<int> _0; |
109 | public VV2I() { tag = LambdaCube.IR.Value.Tag.VV2I; } | 109 | public VV2I() { tag = LambdaCube.IR.Value.Tag.VV2I; } |
110 | }; | 110 | }; |
111 | class VV3I : LambdaCube.IR.Value { | 111 | public class VV3I : LambdaCube.IR.Value { |
112 | public V3<int> _0; | 112 | public V3<int> _0; |
113 | public VV3I() { tag = LambdaCube.IR.Value.Tag.VV3I; } | 113 | public VV3I() { tag = LambdaCube.IR.Value.Tag.VV3I; } |
114 | }; | 114 | }; |
115 | class VV4I : LambdaCube.IR.Value { | 115 | public class VV4I : LambdaCube.IR.Value { |
116 | public V4<int> _0; | 116 | public V4<int> _0; |
117 | public VV4I() { tag = LambdaCube.IR.Value.Tag.VV4I; } | 117 | public VV4I() { tag = LambdaCube.IR.Value.Tag.VV4I; } |
118 | }; | 118 | }; |
119 | class VFloat : LambdaCube.IR.Value { | 119 | public class VFloat : LambdaCube.IR.Value { |
120 | public float _0; | 120 | public float _0; |
121 | public VFloat() { tag = LambdaCube.IR.Value.Tag.VFloat; } | 121 | public VFloat() { tag = LambdaCube.IR.Value.Tag.VFloat; } |
122 | }; | 122 | }; |
123 | class VV2F : LambdaCube.IR.Value { | 123 | public class VV2F : LambdaCube.IR.Value { |
124 | public V2<float> _0; | 124 | public V2<float> _0; |
125 | public VV2F() { tag = LambdaCube.IR.Value.Tag.VV2F; } | 125 | public VV2F() { tag = LambdaCube.IR.Value.Tag.VV2F; } |
126 | }; | 126 | }; |
127 | class VV3F : LambdaCube.IR.Value { | 127 | public class VV3F : LambdaCube.IR.Value { |
128 | public V3<float> _0; | 128 | public V3<float> _0; |
129 | public VV3F() { tag = LambdaCube.IR.Value.Tag.VV3F; } | 129 | public VV3F() { tag = LambdaCube.IR.Value.Tag.VV3F; } |
130 | }; | 130 | }; |
131 | class VV4F : LambdaCube.IR.Value { | 131 | public class VV4F : LambdaCube.IR.Value { |
132 | public V4<float> _0; | 132 | public V4<float> _0; |
133 | public VV4F() { tag = LambdaCube.IR.Value.Tag.VV4F; } | 133 | public VV4F() { tag = LambdaCube.IR.Value.Tag.VV4F; } |
134 | }; | 134 | }; |
135 | class VM22F : LambdaCube.IR.Value { | 135 | public class VM22F : LambdaCube.IR.Value { |
136 | public V2<V2<float>> _0; | 136 | public V2<V2<float>> _0; |
137 | public VM22F() { tag = LambdaCube.IR.Value.Tag.VM22F; } | 137 | public VM22F() { tag = LambdaCube.IR.Value.Tag.VM22F; } |
138 | }; | 138 | }; |
139 | class VM23F : LambdaCube.IR.Value { | 139 | public class VM23F : LambdaCube.IR.Value { |
140 | public V3<V2<float>> _0; | 140 | public V3<V2<float>> _0; |
141 | public VM23F() { tag = LambdaCube.IR.Value.Tag.VM23F; } | 141 | public VM23F() { tag = LambdaCube.IR.Value.Tag.VM23F; } |
142 | }; | 142 | }; |
143 | class VM24F : LambdaCube.IR.Value { | 143 | public class VM24F : LambdaCube.IR.Value { |
144 | public V4<V2<float>> _0; | 144 | public V4<V2<float>> _0; |
145 | public VM24F() { tag = LambdaCube.IR.Value.Tag.VM24F; } | 145 | public VM24F() { tag = LambdaCube.IR.Value.Tag.VM24F; } |
146 | }; | 146 | }; |
147 | class VM32F : LambdaCube.IR.Value { | 147 | public class VM32F : LambdaCube.IR.Value { |
148 | public V2<V3<float>> _0; | 148 | public V2<V3<float>> _0; |
149 | public VM32F() { tag = LambdaCube.IR.Value.Tag.VM32F; } | 149 | public VM32F() { tag = LambdaCube.IR.Value.Tag.VM32F; } |
150 | }; | 150 | }; |
151 | class VM33F : LambdaCube.IR.Value { | 151 | public class VM33F : LambdaCube.IR.Value { |
152 | public V3<V3<float>> _0; | 152 | public V3<V3<float>> _0; |
153 | public VM33F() { tag = LambdaCube.IR.Value.Tag.VM33F; } | 153 | public VM33F() { tag = LambdaCube.IR.Value.Tag.VM33F; } |
154 | }; | 154 | }; |
155 | class VM34F : LambdaCube.IR.Value { | 155 | public class VM34F : LambdaCube.IR.Value { |
156 | public V4<V3<float>> _0; | 156 | public V4<V3<float>> _0; |
157 | public VM34F() { tag = LambdaCube.IR.Value.Tag.VM34F; } | 157 | public VM34F() { tag = LambdaCube.IR.Value.Tag.VM34F; } |
158 | }; | 158 | }; |
159 | class VM42F : LambdaCube.IR.Value { | 159 | public class VM42F : LambdaCube.IR.Value { |
160 | public V2<V4<float>> _0; | 160 | public V2<V4<float>> _0; |
161 | public VM42F() { tag = LambdaCube.IR.Value.Tag.VM42F; } | 161 | public VM42F() { tag = LambdaCube.IR.Value.Tag.VM42F; } |
162 | }; | 162 | }; |
163 | class VM43F : LambdaCube.IR.Value { | 163 | public class VM43F : LambdaCube.IR.Value { |
164 | public V3<V4<float>> _0; | 164 | public V3<V4<float>> _0; |
165 | public VM43F() { tag = LambdaCube.IR.Value.Tag.VM43F; } | 165 | public VM43F() { tag = LambdaCube.IR.Value.Tag.VM43F; } |
166 | }; | 166 | }; |
167 | class VM44F : LambdaCube.IR.Value { | 167 | public class VM44F : LambdaCube.IR.Value { |
168 | public V4<V4<float>> _0; | 168 | public V4<V4<float>> _0; |
169 | public VM44F() { tag = LambdaCube.IR.Value.Tag.VM44F; } | 169 | public VM44F() { tag = LambdaCube.IR.Value.Tag.VM44F; } |
170 | }; | 170 | }; |
171 | } | 171 | } |
172 | class InputType { | 172 | public class InputType { |
173 | public enum Tag { | 173 | public enum Tag { |
174 | Bool, | 174 | Bool, |
175 | V2B, | 175 | V2B, |
@@ -238,7 +238,7 @@ namespace LambdaCube.IR { | |||
238 | 238 | ||
239 | namespace data { | 239 | namespace data { |
240 | } | 240 | } |
241 | class PointSpriteCoordOrigin { | 241 | public class PointSpriteCoordOrigin { |
242 | public enum Tag { | 242 | public enum Tag { |
243 | LowerLeft, | 243 | LowerLeft, |
244 | UpperLeft | 244 | UpperLeft |
@@ -248,7 +248,7 @@ namespace LambdaCube.IR { | |||
248 | 248 | ||
249 | namespace data { | 249 | namespace data { |
250 | } | 250 | } |
251 | class PointSize { | 251 | public class PointSize { |
252 | public enum Tag { | 252 | public enum Tag { |
253 | PointSize, | 253 | PointSize, |
254 | ProgramPointSize | 254 | ProgramPointSize |
@@ -257,12 +257,12 @@ namespace LambdaCube.IR { | |||
257 | }; | 257 | }; |
258 | 258 | ||
259 | namespace data { | 259 | namespace data { |
260 | class PointSize : LambdaCube.IR.PointSize { | 260 | public class PointSize : LambdaCube.IR.PointSize { |
261 | public float _0; | 261 | public float _0; |
262 | public PointSize() { tag = LambdaCube.IR.PointSize.Tag.PointSize; } | 262 | public PointSize() { tag = LambdaCube.IR.PointSize.Tag.PointSize; } |
263 | }; | 263 | }; |
264 | } | 264 | } |
265 | class PolygonOffset { | 265 | public class PolygonOffset { |
266 | public enum Tag { | 266 | public enum Tag { |
267 | NoOffset, | 267 | NoOffset, |
268 | Offset | 268 | Offset |
@@ -271,13 +271,13 @@ namespace LambdaCube.IR { | |||
271 | }; | 271 | }; |
272 | 272 | ||
273 | namespace data { | 273 | namespace data { |
274 | class Offset : LambdaCube.IR.PolygonOffset { | 274 | public class Offset : LambdaCube.IR.PolygonOffset { |
275 | public float _0; | 275 | public float _0; |
276 | public float _1; | 276 | public float _1; |
277 | public Offset() { tag = LambdaCube.IR.PolygonOffset.Tag.Offset; } | 277 | public Offset() { tag = LambdaCube.IR.PolygonOffset.Tag.Offset; } |
278 | }; | 278 | }; |
279 | } | 279 | } |
280 | class FrontFace { | 280 | public class FrontFace { |
281 | public enum Tag { | 281 | public enum Tag { |
282 | CCW, | 282 | CCW, |
283 | CW | 283 | CW |
@@ -287,7 +287,7 @@ namespace LambdaCube.IR { | |||
287 | 287 | ||
288 | namespace data { | 288 | namespace data { |
289 | } | 289 | } |
290 | class PolygonMode { | 290 | public class PolygonMode { |
291 | public enum Tag { | 291 | public enum Tag { |
292 | PolygonPoint, | 292 | PolygonPoint, |
293 | PolygonLine, | 293 | PolygonLine, |
@@ -297,16 +297,16 @@ namespace LambdaCube.IR { | |||
297 | }; | 297 | }; |
298 | 298 | ||
299 | namespace data { | 299 | namespace data { |
300 | class PolygonPoint : LambdaCube.IR.PolygonMode { | 300 | public class PolygonPoint : LambdaCube.IR.PolygonMode { |
301 | public global::LambdaCube.IR.PointSize _0; | 301 | public global::LambdaCube.IR.PointSize _0; |
302 | public PolygonPoint() { tag = LambdaCube.IR.PolygonMode.Tag.PolygonPoint; } | 302 | public PolygonPoint() { tag = LambdaCube.IR.PolygonMode.Tag.PolygonPoint; } |
303 | }; | 303 | }; |
304 | class PolygonLine : LambdaCube.IR.PolygonMode { | 304 | public class PolygonLine : LambdaCube.IR.PolygonMode { |
305 | public float _0; | 305 | public float _0; |
306 | public PolygonLine() { tag = LambdaCube.IR.PolygonMode.Tag.PolygonLine; } | 306 | public PolygonLine() { tag = LambdaCube.IR.PolygonMode.Tag.PolygonLine; } |
307 | }; | 307 | }; |
308 | } | 308 | } |
309 | class ProvokingVertex { | 309 | public class ProvokingVertex { |
310 | public enum Tag { | 310 | public enum Tag { |
311 | FirstVertex, | 311 | FirstVertex, |
312 | LastVertex | 312 | LastVertex |
@@ -316,7 +316,7 @@ namespace LambdaCube.IR { | |||
316 | 316 | ||
317 | namespace data { | 317 | namespace data { |
318 | } | 318 | } |
319 | class CullMode { | 319 | public class CullMode { |
320 | public enum Tag { | 320 | public enum Tag { |
321 | CullNone, | 321 | CullNone, |
322 | CullFront, | 322 | CullFront, |
@@ -326,16 +326,16 @@ namespace LambdaCube.IR { | |||
326 | }; | 326 | }; |
327 | 327 | ||
328 | namespace data { | 328 | namespace data { |
329 | class CullFront : LambdaCube.IR.CullMode { | 329 | public class CullFront : LambdaCube.IR.CullMode { |
330 | public global::LambdaCube.IR.FrontFace _0; | 330 | public global::LambdaCube.IR.FrontFace _0; |
331 | public CullFront() { tag = LambdaCube.IR.CullMode.Tag.CullFront; } | 331 | public CullFront() { tag = LambdaCube.IR.CullMode.Tag.CullFront; } |
332 | }; | 332 | }; |
333 | class CullBack : LambdaCube.IR.CullMode { | 333 | public class CullBack : LambdaCube.IR.CullMode { |
334 | public global::LambdaCube.IR.FrontFace _0; | 334 | public global::LambdaCube.IR.FrontFace _0; |
335 | public CullBack() { tag = LambdaCube.IR.CullMode.Tag.CullBack; } | 335 | public CullBack() { tag = LambdaCube.IR.CullMode.Tag.CullBack; } |
336 | }; | 336 | }; |
337 | } | 337 | } |
338 | class ComparisonFunction { | 338 | public class ComparisonFunction { |
339 | public enum Tag { | 339 | public enum Tag { |
340 | Never, | 340 | Never, |
341 | Less, | 341 | Less, |
@@ -351,7 +351,7 @@ namespace LambdaCube.IR { | |||
351 | 351 | ||
352 | namespace data { | 352 | namespace data { |
353 | } | 353 | } |
354 | class StencilOperation { | 354 | public class StencilOperation { |
355 | public enum Tag { | 355 | public enum Tag { |
356 | OpZero, | 356 | OpZero, |
357 | OpKeep, | 357 | OpKeep, |
@@ -367,7 +367,7 @@ namespace LambdaCube.IR { | |||
367 | 367 | ||
368 | namespace data { | 368 | namespace data { |
369 | } | 369 | } |
370 | class BlendEquation { | 370 | public class BlendEquation { |
371 | public enum Tag { | 371 | public enum Tag { |
372 | FuncAdd, | 372 | FuncAdd, |
373 | FuncSubtract, | 373 | FuncSubtract, |
@@ -380,7 +380,7 @@ namespace LambdaCube.IR { | |||
380 | 380 | ||
381 | namespace data { | 381 | namespace data { |
382 | } | 382 | } |
383 | class BlendingFactor { | 383 | public class BlendingFactor { |
384 | public enum Tag { | 384 | public enum Tag { |
385 | Zero, | 385 | Zero, |
386 | One, | 386 | One, |
@@ -403,7 +403,7 @@ namespace LambdaCube.IR { | |||
403 | 403 | ||
404 | namespace data { | 404 | namespace data { |
405 | } | 405 | } |
406 | class LogicOperation { | 406 | public class LogicOperation { |
407 | public enum Tag { | 407 | public enum Tag { |
408 | Clear, | 408 | Clear, |
409 | And, | 409 | And, |
@@ -427,7 +427,7 @@ namespace LambdaCube.IR { | |||
427 | 427 | ||
428 | namespace data { | 428 | namespace data { |
429 | } | 429 | } |
430 | class StencilOps { | 430 | public class StencilOps { |
431 | public enum Tag { | 431 | public enum Tag { |
432 | StencilOps | 432 | StencilOps |
433 | }; | 433 | }; |
@@ -435,13 +435,13 @@ namespace LambdaCube.IR { | |||
435 | }; | 435 | }; |
436 | 436 | ||
437 | namespace data { | 437 | namespace data { |
438 | class StencilOps : LambdaCube.IR.StencilOps { | 438 | public class StencilOps : LambdaCube.IR.StencilOps { |
439 | public global::LambdaCube.IR.StencilOperation frontStencilOp; | 439 | public global::LambdaCube.IR.StencilOperation frontStencilOp; |
440 | public global::LambdaCube.IR.StencilOperation backStencilOp; | 440 | public global::LambdaCube.IR.StencilOperation backStencilOp; |
441 | public StencilOps() { tag = LambdaCube.IR.StencilOps.Tag.StencilOps; } | 441 | public StencilOps() { tag = LambdaCube.IR.StencilOps.Tag.StencilOps; } |
442 | }; | 442 | }; |
443 | } | 443 | } |
444 | class StencilTest { | 444 | public class StencilTest { |
445 | public enum Tag { | 445 | public enum Tag { |
446 | StencilTest | 446 | StencilTest |
447 | }; | 447 | }; |
@@ -449,14 +449,14 @@ namespace LambdaCube.IR { | |||
449 | }; | 449 | }; |
450 | 450 | ||
451 | namespace data { | 451 | namespace data { |
452 | class StencilTest : LambdaCube.IR.StencilTest { | 452 | public class StencilTest : LambdaCube.IR.StencilTest { |
453 | public global::LambdaCube.IR.ComparisonFunction stencilComparision; | 453 | public global::LambdaCube.IR.ComparisonFunction stencilComparision; |
454 | public int stencilReference; | 454 | public int stencilReference; |
455 | public uint stencilMask; | 455 | public uint stencilMask; |
456 | public StencilTest() { tag = LambdaCube.IR.StencilTest.Tag.StencilTest; } | 456 | public StencilTest() { tag = LambdaCube.IR.StencilTest.Tag.StencilTest; } |
457 | }; | 457 | }; |
458 | } | 458 | } |
459 | class StencilTests { | 459 | public class StencilTests { |
460 | public enum Tag { | 460 | public enum Tag { |
461 | StencilTests | 461 | StencilTests |
462 | }; | 462 | }; |
@@ -464,13 +464,13 @@ namespace LambdaCube.IR { | |||
464 | }; | 464 | }; |
465 | 465 | ||
466 | namespace data { | 466 | namespace data { |
467 | class StencilTests : LambdaCube.IR.StencilTests { | 467 | public class StencilTests : LambdaCube.IR.StencilTests { |
468 | public global::LambdaCube.IR.StencilTest _0; | 468 | public global::LambdaCube.IR.StencilTest _0; |
469 | public global::LambdaCube.IR.StencilTest _1; | 469 | public global::LambdaCube.IR.StencilTest _1; |
470 | public StencilTests() { tag = LambdaCube.IR.StencilTests.Tag.StencilTests; } | 470 | public StencilTests() { tag = LambdaCube.IR.StencilTests.Tag.StencilTests; } |
471 | }; | 471 | }; |
472 | } | 472 | } |
473 | class FetchPrimitive { | 473 | public class FetchPrimitive { |
474 | public enum Tag { | 474 | public enum Tag { |
475 | Points, | 475 | Points, |
476 | Lines, | 476 | Lines, |
@@ -483,7 +483,7 @@ namespace LambdaCube.IR { | |||
483 | 483 | ||
484 | namespace data { | 484 | namespace data { |
485 | } | 485 | } |
486 | class OutputPrimitive { | 486 | public class OutputPrimitive { |
487 | public enum Tag { | 487 | public enum Tag { |
488 | TrianglesOutput, | 488 | TrianglesOutput, |
489 | LinesOutput, | 489 | LinesOutput, |
@@ -494,7 +494,7 @@ namespace LambdaCube.IR { | |||
494 | 494 | ||
495 | namespace data { | 495 | namespace data { |
496 | } | 496 | } |
497 | class ColorArity { | 497 | public class ColorArity { |
498 | public enum Tag { | 498 | public enum Tag { |
499 | Red, | 499 | Red, |
500 | RG, | 500 | RG, |
@@ -506,7 +506,7 @@ namespace LambdaCube.IR { | |||
506 | 506 | ||
507 | namespace data { | 507 | namespace data { |
508 | } | 508 | } |
509 | class Blending { | 509 | public class Blending { |
510 | public enum Tag { | 510 | public enum Tag { |
511 | NoBlending, | 511 | NoBlending, |
512 | BlendLogicOp, | 512 | BlendLogicOp, |
@@ -516,11 +516,11 @@ namespace LambdaCube.IR { | |||
516 | }; | 516 | }; |
517 | 517 | ||
518 | namespace data { | 518 | namespace data { |
519 | class BlendLogicOp : LambdaCube.IR.Blending { | 519 | public class BlendLogicOp : LambdaCube.IR.Blending { |
520 | public global::LambdaCube.IR.LogicOperation _0; | 520 | public global::LambdaCube.IR.LogicOperation _0; |
521 | public BlendLogicOp() { tag = LambdaCube.IR.Blending.Tag.BlendLogicOp; } | 521 | public BlendLogicOp() { tag = LambdaCube.IR.Blending.Tag.BlendLogicOp; } |
522 | }; | 522 | }; |
523 | class Blend : LambdaCube.IR.Blending { | 523 | public class Blend : LambdaCube.IR.Blending { |
524 | public global::LambdaCube.IR.BlendEquation colorEqSrc; | 524 | public global::LambdaCube.IR.BlendEquation colorEqSrc; |
525 | public global::LambdaCube.IR.BlendEquation alphaEqSrc; | 525 | public global::LambdaCube.IR.BlendEquation alphaEqSrc; |
526 | public global::LambdaCube.IR.BlendingFactor colorFSrc; | 526 | public global::LambdaCube.IR.BlendingFactor colorFSrc; |
@@ -531,7 +531,7 @@ namespace LambdaCube.IR { | |||
531 | public Blend() { tag = LambdaCube.IR.Blending.Tag.Blend; } | 531 | public Blend() { tag = LambdaCube.IR.Blending.Tag.Blend; } |
532 | }; | 532 | }; |
533 | } | 533 | } |
534 | class RasterContext { | 534 | public class RasterContext { |
535 | public enum Tag { | 535 | public enum Tag { |
536 | PointCtx, | 536 | PointCtx, |
537 | LineCtx, | 537 | LineCtx, |
@@ -541,18 +541,18 @@ namespace LambdaCube.IR { | |||
541 | }; | 541 | }; |
542 | 542 | ||
543 | namespace data { | 543 | namespace data { |
544 | class PointCtx : LambdaCube.IR.RasterContext { | 544 | public class PointCtx : LambdaCube.IR.RasterContext { |
545 | public global::LambdaCube.IR.PointSize _0; | 545 | public global::LambdaCube.IR.PointSize _0; |
546 | public float _1; | 546 | public float _1; |
547 | public global::LambdaCube.IR.PointSpriteCoordOrigin _2; | 547 | public global::LambdaCube.IR.PointSpriteCoordOrigin _2; |
548 | public PointCtx() { tag = LambdaCube.IR.RasterContext.Tag.PointCtx; } | 548 | public PointCtx() { tag = LambdaCube.IR.RasterContext.Tag.PointCtx; } |
549 | }; | 549 | }; |
550 | class LineCtx : LambdaCube.IR.RasterContext { | 550 | public class LineCtx : LambdaCube.IR.RasterContext { |
551 | public float _0; | 551 | public float _0; |
552 | public global::LambdaCube.IR.ProvokingVertex _1; | 552 | public global::LambdaCube.IR.ProvokingVertex _1; |
553 | public LineCtx() { tag = LambdaCube.IR.RasterContext.Tag.LineCtx; } | 553 | public LineCtx() { tag = LambdaCube.IR.RasterContext.Tag.LineCtx; } |
554 | }; | 554 | }; |
555 | class TriangleCtx : LambdaCube.IR.RasterContext { | 555 | public class TriangleCtx : LambdaCube.IR.RasterContext { |
556 | public global::LambdaCube.IR.CullMode _0; | 556 | public global::LambdaCube.IR.CullMode _0; |
557 | public global::LambdaCube.IR.PolygonMode _1; | 557 | public global::LambdaCube.IR.PolygonMode _1; |
558 | public global::LambdaCube.IR.PolygonOffset _2; | 558 | public global::LambdaCube.IR.PolygonOffset _2; |
@@ -560,7 +560,7 @@ namespace LambdaCube.IR { | |||
560 | public TriangleCtx() { tag = LambdaCube.IR.RasterContext.Tag.TriangleCtx; } | 560 | public TriangleCtx() { tag = LambdaCube.IR.RasterContext.Tag.TriangleCtx; } |
561 | }; | 561 | }; |
562 | } | 562 | } |
563 | class FragmentOperation { | 563 | public class FragmentOperation { |
564 | public enum Tag { | 564 | public enum Tag { |
565 | DepthOp, | 565 | DepthOp, |
566 | StencilOp, | 566 | StencilOp, |
@@ -570,24 +570,24 @@ namespace LambdaCube.IR { | |||
570 | }; | 570 | }; |
571 | 571 | ||
572 | namespace data { | 572 | namespace data { |
573 | class DepthOp : LambdaCube.IR.FragmentOperation { | 573 | public class DepthOp : LambdaCube.IR.FragmentOperation { |
574 | public global::LambdaCube.IR.ComparisonFunction _0; | 574 | public global::LambdaCube.IR.ComparisonFunction _0; |
575 | public bool _1; | 575 | public bool _1; |
576 | public DepthOp() { tag = LambdaCube.IR.FragmentOperation.Tag.DepthOp; } | 576 | public DepthOp() { tag = LambdaCube.IR.FragmentOperation.Tag.DepthOp; } |
577 | }; | 577 | }; |
578 | class StencilOp : LambdaCube.IR.FragmentOperation { | 578 | public class StencilOp : LambdaCube.IR.FragmentOperation { |
579 | public global::LambdaCube.IR.StencilTests _0; | 579 | public global::LambdaCube.IR.StencilTests _0; |
580 | public global::LambdaCube.IR.StencilOps _1; | 580 | public global::LambdaCube.IR.StencilOps _1; |
581 | public global::LambdaCube.IR.StencilOps _2; | 581 | public global::LambdaCube.IR.StencilOps _2; |
582 | public StencilOp() { tag = LambdaCube.IR.FragmentOperation.Tag.StencilOp; } | 582 | public StencilOp() { tag = LambdaCube.IR.FragmentOperation.Tag.StencilOp; } |
583 | }; | 583 | }; |
584 | class ColorOp : LambdaCube.IR.FragmentOperation { | 584 | public class ColorOp : LambdaCube.IR.FragmentOperation { |
585 | public global::LambdaCube.IR.Blending _0; | 585 | public global::LambdaCube.IR.Blending _0; |
586 | public global::LambdaCube.IR.Value _1; | 586 | public global::LambdaCube.IR.Value _1; |
587 | public ColorOp() { tag = LambdaCube.IR.FragmentOperation.Tag.ColorOp; } | 587 | public ColorOp() { tag = LambdaCube.IR.FragmentOperation.Tag.ColorOp; } |
588 | }; | 588 | }; |
589 | } | 589 | } |
590 | class AccumulationContext { | 590 | public class AccumulationContext { |
591 | public enum Tag { | 591 | public enum Tag { |
592 | AccumulationContext | 592 | AccumulationContext |
593 | }; | 593 | }; |
@@ -595,13 +595,13 @@ namespace LambdaCube.IR { | |||
595 | }; | 595 | }; |
596 | 596 | ||
597 | namespace data { | 597 | namespace data { |
598 | class AccumulationContext : LambdaCube.IR.AccumulationContext { | 598 | public class AccumulationContext : LambdaCube.IR.AccumulationContext { |
599 | public Maybe<string> accViewportName; | 599 | public Maybe<string> accViewportName; |
600 | public List<global::LambdaCube.IR.FragmentOperation> accOperations; | 600 | public List<global::LambdaCube.IR.FragmentOperation> accOperations; |
601 | public AccumulationContext() { tag = LambdaCube.IR.AccumulationContext.Tag.AccumulationContext; } | 601 | public AccumulationContext() { tag = LambdaCube.IR.AccumulationContext.Tag.AccumulationContext; } |
602 | }; | 602 | }; |
603 | } | 603 | } |
604 | class TextureDataType { | 604 | public class TextureDataType { |
605 | public enum Tag { | 605 | public enum Tag { |
606 | FloatT, | 606 | FloatT, |
607 | IntT, | 607 | IntT, |
@@ -612,20 +612,20 @@ namespace LambdaCube.IR { | |||
612 | }; | 612 | }; |
613 | 613 | ||
614 | namespace data { | 614 | namespace data { |
615 | class FloatT : LambdaCube.IR.TextureDataType { | 615 | public class FloatT : LambdaCube.IR.TextureDataType { |
616 | public global::LambdaCube.IR.ColorArity _0; | 616 | public global::LambdaCube.IR.ColorArity _0; |
617 | public FloatT() { tag = LambdaCube.IR.TextureDataType.Tag.FloatT; } | 617 | public FloatT() { tag = LambdaCube.IR.TextureDataType.Tag.FloatT; } |
618 | }; | 618 | }; |
619 | class IntT : LambdaCube.IR.TextureDataType { | 619 | public class IntT : LambdaCube.IR.TextureDataType { |
620 | public global::LambdaCube.IR.ColorArity _0; | 620 | public global::LambdaCube.IR.ColorArity _0; |
621 | public IntT() { tag = LambdaCube.IR.TextureDataType.Tag.IntT; } | 621 | public IntT() { tag = LambdaCube.IR.TextureDataType.Tag.IntT; } |
622 | }; | 622 | }; |
623 | class WordT : LambdaCube.IR.TextureDataType { | 623 | public class WordT : LambdaCube.IR.TextureDataType { |
624 | public global::LambdaCube.IR.ColorArity _0; | 624 | public global::LambdaCube.IR.ColorArity _0; |
625 | public WordT() { tag = LambdaCube.IR.TextureDataType.Tag.WordT; } | 625 | public WordT() { tag = LambdaCube.IR.TextureDataType.Tag.WordT; } |
626 | }; | 626 | }; |
627 | } | 627 | } |
628 | class TextureType { | 628 | public class TextureType { |
629 | public enum Tag { | 629 | public enum Tag { |
630 | Texture1D, | 630 | Texture1D, |
631 | Texture2D, | 631 | Texture2D, |
@@ -639,41 +639,41 @@ namespace LambdaCube.IR { | |||
639 | }; | 639 | }; |
640 | 640 | ||
641 | namespace data { | 641 | namespace data { |
642 | class Texture1D : LambdaCube.IR.TextureType { | 642 | public class Texture1D : LambdaCube.IR.TextureType { |
643 | public global::LambdaCube.IR.TextureDataType _0; | 643 | public global::LambdaCube.IR.TextureDataType _0; |
644 | public int _1; | 644 | public int _1; |
645 | public Texture1D() { tag = LambdaCube.IR.TextureType.Tag.Texture1D; } | 645 | public Texture1D() { tag = LambdaCube.IR.TextureType.Tag.Texture1D; } |
646 | }; | 646 | }; |
647 | class Texture2D : LambdaCube.IR.TextureType { | 647 | public class Texture2D : LambdaCube.IR.TextureType { |
648 | public global::LambdaCube.IR.TextureDataType _0; | 648 | public global::LambdaCube.IR.TextureDataType _0; |
649 | public int _1; | 649 | public int _1; |
650 | public Texture2D() { tag = LambdaCube.IR.TextureType.Tag.Texture2D; } | 650 | public Texture2D() { tag = LambdaCube.IR.TextureType.Tag.Texture2D; } |
651 | }; | 651 | }; |
652 | class Texture3D : LambdaCube.IR.TextureType { | 652 | public class Texture3D : LambdaCube.IR.TextureType { |
653 | public global::LambdaCube.IR.TextureDataType _0; | 653 | public global::LambdaCube.IR.TextureDataType _0; |
654 | public Texture3D() { tag = LambdaCube.IR.TextureType.Tag.Texture3D; } | 654 | public Texture3D() { tag = LambdaCube.IR.TextureType.Tag.Texture3D; } |
655 | }; | 655 | }; |
656 | class TextureCube : LambdaCube.IR.TextureType { | 656 | public class TextureCube : LambdaCube.IR.TextureType { |
657 | public global::LambdaCube.IR.TextureDataType _0; | 657 | public global::LambdaCube.IR.TextureDataType _0; |
658 | public TextureCube() { tag = LambdaCube.IR.TextureType.Tag.TextureCube; } | 658 | public TextureCube() { tag = LambdaCube.IR.TextureType.Tag.TextureCube; } |
659 | }; | 659 | }; |
660 | class TextureRect : LambdaCube.IR.TextureType { | 660 | public class TextureRect : LambdaCube.IR.TextureType { |
661 | public global::LambdaCube.IR.TextureDataType _0; | 661 | public global::LambdaCube.IR.TextureDataType _0; |
662 | public TextureRect() { tag = LambdaCube.IR.TextureType.Tag.TextureRect; } | 662 | public TextureRect() { tag = LambdaCube.IR.TextureType.Tag.TextureRect; } |
663 | }; | 663 | }; |
664 | class Texture2DMS : LambdaCube.IR.TextureType { | 664 | public class Texture2DMS : LambdaCube.IR.TextureType { |
665 | public global::LambdaCube.IR.TextureDataType _0; | 665 | public global::LambdaCube.IR.TextureDataType _0; |
666 | public int _1; | 666 | public int _1; |
667 | public int _2; | 667 | public int _2; |
668 | public bool _3; | 668 | public bool _3; |
669 | public Texture2DMS() { tag = LambdaCube.IR.TextureType.Tag.Texture2DMS; } | 669 | public Texture2DMS() { tag = LambdaCube.IR.TextureType.Tag.Texture2DMS; } |
670 | }; | 670 | }; |
671 | class TextureBuffer : LambdaCube.IR.TextureType { | 671 | public class TextureBuffer : LambdaCube.IR.TextureType { |
672 | public global::LambdaCube.IR.TextureDataType _0; | 672 | public global::LambdaCube.IR.TextureDataType _0; |
673 | public TextureBuffer() { tag = LambdaCube.IR.TextureType.Tag.TextureBuffer; } | 673 | public TextureBuffer() { tag = LambdaCube.IR.TextureType.Tag.TextureBuffer; } |
674 | }; | 674 | }; |
675 | } | 675 | } |
676 | class MipMap { | 676 | public class MipMap { |
677 | public enum Tag { | 677 | public enum Tag { |
678 | Mip, | 678 | Mip, |
679 | NoMip, | 679 | NoMip, |
@@ -683,18 +683,18 @@ namespace LambdaCube.IR { | |||
683 | }; | 683 | }; |
684 | 684 | ||
685 | namespace data { | 685 | namespace data { |
686 | class Mip : LambdaCube.IR.MipMap { | 686 | public class Mip : LambdaCube.IR.MipMap { |
687 | public int _0; | 687 | public int _0; |
688 | public int _1; | 688 | public int _1; |
689 | public Mip() { tag = LambdaCube.IR.MipMap.Tag.Mip; } | 689 | public Mip() { tag = LambdaCube.IR.MipMap.Tag.Mip; } |
690 | }; | 690 | }; |
691 | class AutoMip : LambdaCube.IR.MipMap { | 691 | public class AutoMip : LambdaCube.IR.MipMap { |
692 | public int _0; | 692 | public int _0; |
693 | public int _1; | 693 | public int _1; |
694 | public AutoMip() { tag = LambdaCube.IR.MipMap.Tag.AutoMip; } | 694 | public AutoMip() { tag = LambdaCube.IR.MipMap.Tag.AutoMip; } |
695 | }; | 695 | }; |
696 | } | 696 | } |
697 | class Filter { | 697 | public class Filter { |
698 | public enum Tag { | 698 | public enum Tag { |
699 | Nearest, | 699 | Nearest, |
700 | Linear, | 700 | Linear, |
@@ -708,7 +708,7 @@ namespace LambdaCube.IR { | |||
708 | 708 | ||
709 | namespace data { | 709 | namespace data { |
710 | } | 710 | } |
711 | class EdgeMode { | 711 | public class EdgeMode { |
712 | public enum Tag { | 712 | public enum Tag { |
713 | Repeat, | 713 | Repeat, |
714 | MirroredRepeat, | 714 | MirroredRepeat, |
@@ -720,7 +720,7 @@ namespace LambdaCube.IR { | |||
720 | 720 | ||
721 | namespace data { | 721 | namespace data { |
722 | } | 722 | } |
723 | class ImageSemantic { | 723 | public class ImageSemantic { |
724 | public enum Tag { | 724 | public enum Tag { |
725 | Depth, | 725 | Depth, |
726 | Stencil, | 726 | Stencil, |
@@ -731,7 +731,7 @@ namespace LambdaCube.IR { | |||
731 | 731 | ||
732 | namespace data { | 732 | namespace data { |
733 | } | 733 | } |
734 | class ImageRef { | 734 | public class ImageRef { |
735 | public enum Tag { | 735 | public enum Tag { |
736 | TextureImage, | 736 | TextureImage, |
737 | Framebuffer | 737 | Framebuffer |
@@ -740,18 +740,18 @@ namespace LambdaCube.IR { | |||
740 | }; | 740 | }; |
741 | 741 | ||
742 | namespace data { | 742 | namespace data { |
743 | class TextureImage : LambdaCube.IR.ImageRef { | 743 | public class TextureImage : LambdaCube.IR.ImageRef { |
744 | public int _0; | 744 | public int _0; |
745 | public int _1; | 745 | public int _1; |
746 | public Maybe<int> _2; | 746 | public Maybe<int> _2; |
747 | public TextureImage() { tag = LambdaCube.IR.ImageRef.Tag.TextureImage; } | 747 | public TextureImage() { tag = LambdaCube.IR.ImageRef.Tag.TextureImage; } |
748 | }; | 748 | }; |
749 | class Framebuffer : LambdaCube.IR.ImageRef { | 749 | public class Framebuffer : LambdaCube.IR.ImageRef { |
750 | public global::LambdaCube.IR.ImageSemantic _0; | 750 | public global::LambdaCube.IR.ImageSemantic _0; |
751 | public Framebuffer() { tag = LambdaCube.IR.ImageRef.Tag.Framebuffer; } | 751 | public Framebuffer() { tag = LambdaCube.IR.ImageRef.Tag.Framebuffer; } |
752 | }; | 752 | }; |
753 | } | 753 | } |
754 | class ClearImage { | 754 | public class ClearImage { |
755 | public enum Tag { | 755 | public enum Tag { |
756 | ClearImage | 756 | ClearImage |
757 | }; | 757 | }; |
@@ -759,13 +759,13 @@ namespace LambdaCube.IR { | |||
759 | }; | 759 | }; |
760 | 760 | ||
761 | namespace data { | 761 | namespace data { |
762 | class ClearImage : LambdaCube.IR.ClearImage { | 762 | public class ClearImage : LambdaCube.IR.ClearImage { |
763 | public global::LambdaCube.IR.ImageSemantic imageSemantic; | 763 | public global::LambdaCube.IR.ImageSemantic imageSemantic; |
764 | public global::LambdaCube.IR.Value clearValue; | 764 | public global::LambdaCube.IR.Value clearValue; |
765 | public ClearImage() { tag = LambdaCube.IR.ClearImage.Tag.ClearImage; } | 765 | public ClearImage() { tag = LambdaCube.IR.ClearImage.Tag.ClearImage; } |
766 | }; | 766 | }; |
767 | } | 767 | } |
768 | class Command { | 768 | public class Command { |
769 | public enum Tag { | 769 | public enum Tag { |
770 | SetRasterContext, | 770 | SetRasterContext, |
771 | SetAccumulationContext, | 771 | SetAccumulationContext, |
@@ -785,65 +785,65 @@ namespace LambdaCube.IR { | |||
785 | }; | 785 | }; |
786 | 786 | ||
787 | namespace data { | 787 | namespace data { |
788 | class SetRasterContext : LambdaCube.IR.Command { | 788 | public class SetRasterContext : LambdaCube.IR.Command { |
789 | public global::LambdaCube.IR.RasterContext _0; | 789 | public global::LambdaCube.IR.RasterContext _0; |
790 | public SetRasterContext() { tag = LambdaCube.IR.Command.Tag.SetRasterContext; } | 790 | public SetRasterContext() { tag = LambdaCube.IR.Command.Tag.SetRasterContext; } |
791 | }; | 791 | }; |
792 | class SetAccumulationContext : LambdaCube.IR.Command { | 792 | public class SetAccumulationContext : LambdaCube.IR.Command { |
793 | public global::LambdaCube.IR.AccumulationContext _0; | 793 | public global::LambdaCube.IR.AccumulationContext _0; |
794 | public SetAccumulationContext() { tag = LambdaCube.IR.Command.Tag.SetAccumulationContext; } | 794 | public SetAccumulationContext() { tag = LambdaCube.IR.Command.Tag.SetAccumulationContext; } |
795 | }; | 795 | }; |
796 | class SetRenderTarget : LambdaCube.IR.Command { | 796 | public class SetRenderTarget : LambdaCube.IR.Command { |
797 | public int _0; | 797 | public int _0; |
798 | public SetRenderTarget() { tag = LambdaCube.IR.Command.Tag.SetRenderTarget; } | 798 | public SetRenderTarget() { tag = LambdaCube.IR.Command.Tag.SetRenderTarget; } |
799 | }; | 799 | }; |
800 | class SetProgram : LambdaCube.IR.Command { | 800 | public class SetProgram : LambdaCube.IR.Command { |
801 | public int _0; | 801 | public int _0; |
802 | public SetProgram() { tag = LambdaCube.IR.Command.Tag.SetProgram; } | 802 | public SetProgram() { tag = LambdaCube.IR.Command.Tag.SetProgram; } |
803 | }; | 803 | }; |
804 | class SetSamplerUniform : LambdaCube.IR.Command { | 804 | public class SetSamplerUniform : LambdaCube.IR.Command { |
805 | public string _0; | 805 | public string _0; |
806 | public int _1; | 806 | public int _1; |
807 | public SetSamplerUniform() { tag = LambdaCube.IR.Command.Tag.SetSamplerUniform; } | 807 | public SetSamplerUniform() { tag = LambdaCube.IR.Command.Tag.SetSamplerUniform; } |
808 | }; | 808 | }; |
809 | class SetTexture : LambdaCube.IR.Command { | 809 | public class SetTexture : LambdaCube.IR.Command { |
810 | public int _0; | 810 | public int _0; |
811 | public int _1; | 811 | public int _1; |
812 | public SetTexture() { tag = LambdaCube.IR.Command.Tag.SetTexture; } | 812 | public SetTexture() { tag = LambdaCube.IR.Command.Tag.SetTexture; } |
813 | }; | 813 | }; |
814 | class SetSampler : LambdaCube.IR.Command { | 814 | public class SetSampler : LambdaCube.IR.Command { |
815 | public int _0; | 815 | public int _0; |
816 | public Maybe<int> _1; | 816 | public Maybe<int> _1; |
817 | public SetSampler() { tag = LambdaCube.IR.Command.Tag.SetSampler; } | 817 | public SetSampler() { tag = LambdaCube.IR.Command.Tag.SetSampler; } |
818 | }; | 818 | }; |
819 | class RenderSlot : LambdaCube.IR.Command { | 819 | public class RenderSlot : LambdaCube.IR.Command { |
820 | public int _0; | 820 | public int _0; |
821 | public RenderSlot() { tag = LambdaCube.IR.Command.Tag.RenderSlot; } | 821 | public RenderSlot() { tag = LambdaCube.IR.Command.Tag.RenderSlot; } |
822 | }; | 822 | }; |
823 | class RenderStream : LambdaCube.IR.Command { | 823 | public class RenderStream : LambdaCube.IR.Command { |
824 | public int _0; | 824 | public int _0; |
825 | public RenderStream() { tag = LambdaCube.IR.Command.Tag.RenderStream; } | 825 | public RenderStream() { tag = LambdaCube.IR.Command.Tag.RenderStream; } |
826 | }; | 826 | }; |
827 | class ClearRenderTarget : LambdaCube.IR.Command { | 827 | public class ClearRenderTarget : LambdaCube.IR.Command { |
828 | public List<global::LambdaCube.IR.ClearImage> _0; | 828 | public List<global::LambdaCube.IR.ClearImage> _0; |
829 | public ClearRenderTarget() { tag = LambdaCube.IR.Command.Tag.ClearRenderTarget; } | 829 | public ClearRenderTarget() { tag = LambdaCube.IR.Command.Tag.ClearRenderTarget; } |
830 | }; | 830 | }; |
831 | class GenerateMipMap : LambdaCube.IR.Command { | 831 | public class GenerateMipMap : LambdaCube.IR.Command { |
832 | public int _0; | 832 | public int _0; |
833 | public GenerateMipMap() { tag = LambdaCube.IR.Command.Tag.GenerateMipMap; } | 833 | public GenerateMipMap() { tag = LambdaCube.IR.Command.Tag.GenerateMipMap; } |
834 | }; | 834 | }; |
835 | class SaveImage : LambdaCube.IR.Command { | 835 | public class SaveImage : LambdaCube.IR.Command { |
836 | public int _0; | 836 | public int _0; |
837 | public global::LambdaCube.IR.ImageRef _1; | 837 | public global::LambdaCube.IR.ImageRef _1; |
838 | public SaveImage() { tag = LambdaCube.IR.Command.Tag.SaveImage; } | 838 | public SaveImage() { tag = LambdaCube.IR.Command.Tag.SaveImage; } |
839 | }; | 839 | }; |
840 | class LoadImage : LambdaCube.IR.Command { | 840 | public class LoadImage : LambdaCube.IR.Command { |
841 | public global::LambdaCube.IR.ImageRef _0; | 841 | public global::LambdaCube.IR.ImageRef _0; |
842 | public int _1; | 842 | public int _1; |
843 | public LoadImage() { tag = LambdaCube.IR.Command.Tag.LoadImage; } | 843 | public LoadImage() { tag = LambdaCube.IR.Command.Tag.LoadImage; } |
844 | }; | 844 | }; |
845 | } | 845 | } |
846 | class SamplerDescriptor { | 846 | public class SamplerDescriptor { |
847 | public enum Tag { | 847 | public enum Tag { |
848 | SamplerDescriptor | 848 | SamplerDescriptor |
849 | }; | 849 | }; |
@@ -851,7 +851,7 @@ namespace LambdaCube.IR { | |||
851 | }; | 851 | }; |
852 | 852 | ||
853 | namespace data { | 853 | namespace data { |
854 | class SamplerDescriptor : LambdaCube.IR.SamplerDescriptor { | 854 | public class SamplerDescriptor : LambdaCube.IR.SamplerDescriptor { |
855 | public global::LambdaCube.IR.EdgeMode samplerWrapS; | 855 | public global::LambdaCube.IR.EdgeMode samplerWrapS; |
856 | public Maybe<global::LambdaCube.IR.EdgeMode> samplerWrapT; | 856 | public Maybe<global::LambdaCube.IR.EdgeMode> samplerWrapT; |
857 | public Maybe<global::LambdaCube.IR.EdgeMode> samplerWrapR; | 857 | public Maybe<global::LambdaCube.IR.EdgeMode> samplerWrapR; |
@@ -865,7 +865,7 @@ namespace LambdaCube.IR { | |||
865 | public SamplerDescriptor() { tag = LambdaCube.IR.SamplerDescriptor.Tag.SamplerDescriptor; } | 865 | public SamplerDescriptor() { tag = LambdaCube.IR.SamplerDescriptor.Tag.SamplerDescriptor; } |
866 | }; | 866 | }; |
867 | } | 867 | } |
868 | class TextureDescriptor { | 868 | public class TextureDescriptor { |
869 | public enum Tag { | 869 | public enum Tag { |
870 | TextureDescriptor | 870 | TextureDescriptor |
871 | }; | 871 | }; |
@@ -873,7 +873,7 @@ namespace LambdaCube.IR { | |||
873 | }; | 873 | }; |
874 | 874 | ||
875 | namespace data { | 875 | namespace data { |
876 | class TextureDescriptor : LambdaCube.IR.TextureDescriptor { | 876 | public class TextureDescriptor : LambdaCube.IR.TextureDescriptor { |
877 | public global::LambdaCube.IR.TextureType textureType; | 877 | public global::LambdaCube.IR.TextureType textureType; |
878 | public global::LambdaCube.IR.Value textureSize; | 878 | public global::LambdaCube.IR.Value textureSize; |
879 | public global::LambdaCube.IR.ImageSemantic textureSemantic; | 879 | public global::LambdaCube.IR.ImageSemantic textureSemantic; |
@@ -883,7 +883,7 @@ namespace LambdaCube.IR { | |||
883 | public TextureDescriptor() { tag = LambdaCube.IR.TextureDescriptor.Tag.TextureDescriptor; } | 883 | public TextureDescriptor() { tag = LambdaCube.IR.TextureDescriptor.Tag.TextureDescriptor; } |
884 | }; | 884 | }; |
885 | } | 885 | } |
886 | class Parameter { | 886 | public class Parameter { |
887 | public enum Tag { | 887 | public enum Tag { |
888 | Parameter | 888 | Parameter |
889 | }; | 889 | }; |
@@ -891,13 +891,13 @@ namespace LambdaCube.IR { | |||
891 | }; | 891 | }; |
892 | 892 | ||
893 | namespace data { | 893 | namespace data { |
894 | class Parameter : LambdaCube.IR.Parameter { | 894 | public class Parameter : LambdaCube.IR.Parameter { |
895 | public string name; | 895 | public string name; |
896 | public global::LambdaCube.IR.InputType ty; | 896 | public global::LambdaCube.IR.InputType ty; |
897 | public Parameter() { tag = LambdaCube.IR.Parameter.Tag.Parameter; } | 897 | public Parameter() { tag = LambdaCube.IR.Parameter.Tag.Parameter; } |
898 | }; | 898 | }; |
899 | } | 899 | } |
900 | class Program { | 900 | public class Program { |
901 | public enum Tag { | 901 | public enum Tag { |
902 | Program | 902 | Program |
903 | }; | 903 | }; |
@@ -905,7 +905,7 @@ namespace LambdaCube.IR { | |||
905 | }; | 905 | }; |
906 | 906 | ||
907 | namespace data { | 907 | namespace data { |
908 | class Program : LambdaCube.IR.Program { | 908 | public class Program : LambdaCube.IR.Program { |
909 | public Dictionary<string, global::LambdaCube.IR.InputType> programUniforms; | 909 | public Dictionary<string, global::LambdaCube.IR.InputType> programUniforms; |
910 | public Dictionary<string, global::LambdaCube.IR.Parameter> programStreams; | 910 | public Dictionary<string, global::LambdaCube.IR.Parameter> programStreams; |
911 | public Dictionary<string, global::LambdaCube.IR.InputType> programInTextures; | 911 | public Dictionary<string, global::LambdaCube.IR.InputType> programInTextures; |
@@ -916,7 +916,7 @@ namespace LambdaCube.IR { | |||
916 | public Program() { tag = LambdaCube.IR.Program.Tag.Program; } | 916 | public Program() { tag = LambdaCube.IR.Program.Tag.Program; } |
917 | }; | 917 | }; |
918 | } | 918 | } |
919 | class Slot { | 919 | public class Slot { |
920 | public enum Tag { | 920 | public enum Tag { |
921 | Slot | 921 | Slot |
922 | }; | 922 | }; |
@@ -924,7 +924,7 @@ namespace LambdaCube.IR { | |||
924 | }; | 924 | }; |
925 | 925 | ||
926 | namespace data { | 926 | namespace data { |
927 | class Slot : LambdaCube.IR.Slot { | 927 | public class Slot : LambdaCube.IR.Slot { |
928 | public string slotName; | 928 | public string slotName; |
929 | public Dictionary<string, global::LambdaCube.IR.InputType> slotStreams; | 929 | public Dictionary<string, global::LambdaCube.IR.InputType> slotStreams; |
930 | public Dictionary<string, global::LambdaCube.IR.InputType> slotUniforms; | 930 | public Dictionary<string, global::LambdaCube.IR.InputType> slotUniforms; |
@@ -933,7 +933,7 @@ namespace LambdaCube.IR { | |||
933 | public Slot() { tag = LambdaCube.IR.Slot.Tag.Slot; } | 933 | public Slot() { tag = LambdaCube.IR.Slot.Tag.Slot; } |
934 | }; | 934 | }; |
935 | } | 935 | } |
936 | class StreamData { | 936 | public class StreamData { |
937 | public enum Tag { | 937 | public enum Tag { |
938 | StreamData | 938 | StreamData |
939 | }; | 939 | }; |
@@ -941,7 +941,7 @@ namespace LambdaCube.IR { | |||
941 | }; | 941 | }; |
942 | 942 | ||
943 | namespace data { | 943 | namespace data { |
944 | class StreamData : LambdaCube.IR.StreamData { | 944 | public class StreamData : LambdaCube.IR.StreamData { |
945 | public Dictionary<string, global::LambdaCube.IR.ArrayValue> streamData; | 945 | public Dictionary<string, global::LambdaCube.IR.ArrayValue> streamData; |
946 | public Dictionary<string, global::LambdaCube.IR.InputType> streamType; | 946 | public Dictionary<string, global::LambdaCube.IR.InputType> streamType; |
947 | public global::LambdaCube.IR.FetchPrimitive streamPrimitive; | 947 | public global::LambdaCube.IR.FetchPrimitive streamPrimitive; |
@@ -949,7 +949,7 @@ namespace LambdaCube.IR { | |||
949 | public StreamData() { tag = LambdaCube.IR.StreamData.Tag.StreamData; } | 949 | public StreamData() { tag = LambdaCube.IR.StreamData.Tag.StreamData; } |
950 | }; | 950 | }; |
951 | } | 951 | } |
952 | class TargetItem { | 952 | public class TargetItem { |
953 | public enum Tag { | 953 | public enum Tag { |
954 | TargetItem | 954 | TargetItem |
955 | }; | 955 | }; |
@@ -957,13 +957,13 @@ namespace LambdaCube.IR { | |||
957 | }; | 957 | }; |
958 | 958 | ||
959 | namespace data { | 959 | namespace data { |
960 | class TargetItem : LambdaCube.IR.TargetItem { | 960 | public class TargetItem : LambdaCube.IR.TargetItem { |
961 | public global::LambdaCube.IR.ImageSemantic targetSemantic; | 961 | public global::LambdaCube.IR.ImageSemantic targetSemantic; |
962 | public Maybe<global::LambdaCube.IR.ImageRef> targetRef; | 962 | public Maybe<global::LambdaCube.IR.ImageRef> targetRef; |
963 | public TargetItem() { tag = LambdaCube.IR.TargetItem.Tag.TargetItem; } | 963 | public TargetItem() { tag = LambdaCube.IR.TargetItem.Tag.TargetItem; } |
964 | }; | 964 | }; |
965 | } | 965 | } |
966 | class RenderTarget { | 966 | public class RenderTarget { |
967 | public enum Tag { | 967 | public enum Tag { |
968 | RenderTarget | 968 | RenderTarget |
969 | }; | 969 | }; |
@@ -971,12 +971,12 @@ namespace LambdaCube.IR { | |||
971 | }; | 971 | }; |
972 | 972 | ||
973 | namespace data { | 973 | namespace data { |
974 | class RenderTarget : LambdaCube.IR.RenderTarget { | 974 | public class RenderTarget : LambdaCube.IR.RenderTarget { |
975 | public List<global::LambdaCube.IR.TargetItem> renderTargets; | 975 | public List<global::LambdaCube.IR.TargetItem> renderTargets; |
976 | public RenderTarget() { tag = LambdaCube.IR.RenderTarget.Tag.RenderTarget; } | 976 | public RenderTarget() { tag = LambdaCube.IR.RenderTarget.Tag.RenderTarget; } |
977 | }; | 977 | }; |
978 | } | 978 | } |
979 | class Backend { | 979 | public class Backend { |
980 | public enum Tag { | 980 | public enum Tag { |
981 | WebGL1, | 981 | WebGL1, |
982 | OpenGL33, | 982 | OpenGL33, |
@@ -987,7 +987,7 @@ namespace LambdaCube.IR { | |||
987 | 987 | ||
988 | namespace data { | 988 | namespace data { |
989 | } | 989 | } |
990 | class Pipeline { | 990 | public class Pipeline { |
991 | public enum Tag { | 991 | public enum Tag { |
992 | Pipeline | 992 | Pipeline |
993 | }; | 993 | }; |
@@ -995,7 +995,7 @@ namespace LambdaCube.IR { | |||
995 | }; | 995 | }; |
996 | 996 | ||
997 | namespace data { | 997 | namespace data { |
998 | class Pipeline : LambdaCube.IR.Pipeline { | 998 | public class Pipeline : LambdaCube.IR.Pipeline { |
999 | public string info; | 999 | public string info; |
1000 | public global::LambdaCube.IR.Backend backend; | 1000 | public global::LambdaCube.IR.Backend backend; |
1001 | public List<global::LambdaCube.IR.TextureDescriptor> textures; | 1001 | public List<global::LambdaCube.IR.TextureDescriptor> textures; |
@@ -1010,7 +1010,7 @@ namespace LambdaCube.IR { | |||
1010 | } | 1010 | } |
1011 | 1011 | ||
1012 | // JSON deserializer | 1012 | // JSON deserializer |
1013 | enum Type { | 1013 | public enum Type { |
1014 | Int, | 1014 | Int, |
1015 | Int32, | 1015 | Int32, |
1016 | Word, | 1016 | Word, |
@@ -1110,7 +1110,7 @@ namespace LambdaCube.IR { | |||
1110 | Value | 1110 | Value |
1111 | } | 1111 | } |
1112 | 1112 | ||
1113 | class Loader { | 1113 | public class Loader { |
1114 | public static object fromJSON(Type type, JToken obj) { | 1114 | public static object fromJSON(Type type, JToken obj) { |
1115 | switch (type) { | 1115 | switch (type) { |
1116 | case Type.Int: return (int)obj; | 1116 | case Type.Int: return (int)obj; |