summaryrefslogtreecommitdiff
path: root/ddl/out/LambdaCube.PipelineSchema.hpp
blob: 63be6ea7df95d595a23f88c61b4b290f20f1c2d1 (plain)
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
// generated file, do not modify!
<<<<<<< c5e063b3c9aeff65161e24445e9672daff980b45
<<<<<<< 3b50722f433ec5ecc515ea1441fd633d85118cb9
// 2016-03-01T13:00:40.761274000000Z
=======
// 2016-03-20T21:42:12.892571000000Z
>>>>>>> working c# backend
=======
// 2016-03-20T22:19:43.498688000000Z
>>>>>>> fix c#

#ifndef HEADER_LambdaCube.PipelineSchema_H
#define HEADER_LambdaCube.PipelineSchema_H

#include "RT.hpp"

#include "LambdaCube.IR.hpp"

class StreamType {
  public:
    enum class tag { 
      Attribute_Word,
      Attribute_V2U,
      Attribute_V3U,
      Attribute_V4U,
      Attribute_Int,
      Attribute_V2I,
      Attribute_V3I,
      Attribute_V4I,
      Attribute_Float,
      Attribute_V2F,
      Attribute_V3F,
      Attribute_V4F,
      Attribute_M22F,
      Attribute_M23F,
      Attribute_M24F,
      Attribute_M32F,
      Attribute_M33F,
      Attribute_M34F,
      Attribute_M42F,
      Attribute_M43F,
      Attribute_M44F
    } tag;
};
namespace data { 
}
class ObjectArraySchema {
  public:
    enum class tag { 
      ObjectArraySchema
    } tag;
};
namespace data { 
  class ObjectArraySchema : public ::ObjectArraySchema {
    public:
      std::shared_ptr<::FetchPrimitive> primitive;
      std::map<String, std::shared_ptr<::StreamType>> attributes;
      ObjectArraySchema() { tag = tag::ObjectArraySchema; }
  };
}
class PipelineSchema {
  public:
    enum class tag { 
      PipelineSchema
    } tag;
};
namespace data { 
  class PipelineSchema : public ::PipelineSchema {
    public:
      std::map<String, std::shared_ptr<::ObjectArraySchema>> objectArrays;
      std::map<String, std::shared_ptr<::InputType>> uniforms;
      PipelineSchema() { tag = tag::PipelineSchema; }
  };
}
#endif