summaryrefslogtreecommitdiff
path: root/ddl/out/TestData2.hpp
blob: b70752a6990929ac8395eac249598ad4a87e5914 (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
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
// generated file, do not modify!
<<<<<<< 4d40c4ee5ed15544d2ac7fb1ea7b61e89766d277
<<<<<<< c5e063b3c9aeff65161e24445e9672daff980b45
<<<<<<< 3b50722f433ec5ecc515ea1441fd633d85118cb9
// 2016-03-01T13:00:40.829757000000Z
=======
// 2016-03-20T21:42:13.043021000000Z
>>>>>>> working c# backend
=======
// 2016-03-20T22:19:43.692329000000Z
>>>>>>> fix c#
=======
// 2016-03-21T11:36:01.244766000000Z
>>>>>>> work on java json loader

#ifndef HEADER_TestData_H
#define HEADER_TestData_H

#include "RT.hpp"

#include "LambdaCube.IR.hpp"
#include "LambdaCube.Mesh.hpp"
#include "LambdaCube.PipelineSchema.hpp"

namespace data { 
  class ClientInfo {
  public: 
    String clientName;
    std::shared_ptr<::Backend> clientBackend;
  };
}
class ClientInfo {
public:
  enum class tag { 
    ClientInfo
  } tag;
  std::shared_ptr<data::ClientInfo> ClientInfo;
};
namespace data { 
  class Frame {
  public: 
    Int renderCount;
    std::map<String, std::shared_ptr<::Value>> frameUniforms;
    std::map<String, Int> frameTextures;
  };
}
class Frame {
public:
  enum class tag { 
    Frame
  } tag;
  std::shared_ptr<data::Frame> Frame;
};
namespace data { 
  class Scene {
  public: 
    std::map<String, std::vector<Int>> objectArrays;
    Int renderTargetWidth;
    Int renderTargetHeight;
    std::vector<std::shared_ptr<::Frame>> frames;
  };
}
class Scene {
public:
  enum class tag { 
    Scene
  } tag;
  std::shared_ptr<data::Scene> Scene;
};
namespace data { 
  class PipelineInfo {
  public: 
    String pipelineName;
    std::shared_ptr<::Pipeline> pipeline;
  };
}
class PipelineInfo {
public:
  enum class tag { 
    PipelineInfo
  } tag;
  std::shared_ptr<data::PipelineInfo> PipelineInfo;
};
namespace data { 
  class RenderJob {
  public: 
    std::vector<std::shared_ptr<::Mesh>> meshes;
    std::vector<String> textures;
    std::shared_ptr<::PipelineSchema> schema;
    std::vector<std::shared_ptr<::Scene>> scenes;
    std::vector<std::shared_ptr<::PipelineInfo>> pipelines;
  };
}
class RenderJob {
public:
  enum class tag { 
    RenderJob
  } tag;
  std::shared_ptr<data::RenderJob> RenderJob;
};
namespace data { 
  class FrameResult {
  public: 
    std::vector<Float> frRenderTimes;
    Int frImageWidth;
    Int frImageHeight;
  };
}
class FrameResult {
public:
  enum class tag { 
    FrameResult
  } tag;
  std::shared_ptr<data::FrameResult> FrameResult;
};
namespace data { 
  class RenderJobResult {
  public: 
    std::shared_ptr<::FrameResult> _0;
  };
  class RenderJobError {
  public: 
    String _0;
  };
}
class RenderJobResult {
public:
  enum class tag { 
    RenderJobResult,
    RenderJobError
  } tag;
  std::shared_ptr<data::RenderJobResult> RenderJobResult;
  std::shared_ptr<data::RenderJobError> RenderJobError;
};
#endif