diff options
Diffstat (limited to 'ddl/out/cpp/TestData.hpp')
-rw-r--r-- | ddl/out/cpp/TestData.hpp | 123 |
1 files changed, 123 insertions, 0 deletions
diff --git a/ddl/out/cpp/TestData.hpp b/ddl/out/cpp/TestData.hpp new file mode 100644 index 0000000..60d401f --- /dev/null +++ b/ddl/out/cpp/TestData.hpp | |||
@@ -0,0 +1,123 @@ | |||
1 | // generated file, do not modify! | ||
2 | // 2016-11-11T11:17:03.685172000000Z | ||
3 | |||
4 | #ifndef HEADER_TestData_H | ||
5 | #define HEADER_TestData_H | ||
6 | |||
7 | #include "RT.hpp" | ||
8 | |||
9 | #include "LambdaCube.IR.hpp" | ||
10 | #include "LambdaCube.Mesh.hpp" | ||
11 | #include "LambdaCube.PipelineSchema.hpp" | ||
12 | |||
13 | class ClientInfo { | ||
14 | public: | ||
15 | enum class tag { | ||
16 | ClientInfo | ||
17 | } tag; | ||
18 | }; | ||
19 | namespace data { | ||
20 | class ClientInfo : public ::ClientInfo { | ||
21 | public: | ||
22 | String clientName; | ||
23 | std::shared_ptr<::Backend> clientBackend; | ||
24 | ClientInfo() { tag = tag::ClientInfo; } | ||
25 | }; | ||
26 | } | ||
27 | class Frame { | ||
28 | public: | ||
29 | enum class tag { | ||
30 | Frame | ||
31 | } tag; | ||
32 | }; | ||
33 | namespace data { | ||
34 | class Frame : public ::Frame { | ||
35 | public: | ||
36 | Int renderCount; | ||
37 | std::map<String, std::shared_ptr<::Value>> frameUniforms; | ||
38 | std::map<String, Int> frameTextures; | ||
39 | Frame() { tag = tag::Frame; } | ||
40 | }; | ||
41 | } | ||
42 | class Scene { | ||
43 | public: | ||
44 | enum class tag { | ||
45 | Scene | ||
46 | } tag; | ||
47 | }; | ||
48 | namespace data { | ||
49 | class Scene : public ::Scene { | ||
50 | public: | ||
51 | std::map<String, std::vector<Int>> objectArrays; | ||
52 | Int renderTargetWidth; | ||
53 | Int renderTargetHeight; | ||
54 | std::vector<std::shared_ptr<::Frame>> frames; | ||
55 | Scene() { tag = tag::Scene; } | ||
56 | }; | ||
57 | } | ||
58 | class PipelineInfo { | ||
59 | public: | ||
60 | enum class tag { | ||
61 | PipelineInfo | ||
62 | } tag; | ||
63 | }; | ||
64 | namespace data { | ||
65 | class PipelineInfo : public ::PipelineInfo { | ||
66 | public: | ||
67 | String pipelineName; | ||
68 | std::shared_ptr<::Pipeline> pipeline; | ||
69 | PipelineInfo() { tag = tag::PipelineInfo; } | ||
70 | }; | ||
71 | } | ||
72 | class RenderJob { | ||
73 | public: | ||
74 | enum class tag { | ||
75 | RenderJob | ||
76 | } tag; | ||
77 | }; | ||
78 | namespace data { | ||
79 | class RenderJob : public ::RenderJob { | ||
80 | public: | ||
81 | std::vector<std::shared_ptr<::Mesh>> meshes; | ||
82 | std::vector<String> textures; | ||
83 | std::shared_ptr<::PipelineSchema> schema; | ||
84 | std::vector<std::shared_ptr<::Scene>> scenes; | ||
85 | std::vector<std::shared_ptr<::PipelineInfo>> pipelines; | ||
86 | RenderJob() { tag = tag::RenderJob; } | ||
87 | }; | ||
88 | } | ||
89 | class FrameResult { | ||
90 | public: | ||
91 | enum class tag { | ||
92 | FrameResult | ||
93 | } tag; | ||
94 | }; | ||
95 | namespace data { | ||
96 | class FrameResult : public ::FrameResult { | ||
97 | public: | ||
98 | std::vector<Float> frRenderTimes; | ||
99 | Int frImageWidth; | ||
100 | Int frImageHeight; | ||
101 | FrameResult() { tag = tag::FrameResult; } | ||
102 | }; | ||
103 | } | ||
104 | class RenderJobResult { | ||
105 | public: | ||
106 | enum class tag { | ||
107 | RenderJobResult, | ||
108 | RenderJobError | ||
109 | } tag; | ||
110 | }; | ||
111 | namespace data { | ||
112 | class RenderJobResult : public ::RenderJobResult { | ||
113 | public: | ||
114 | std::shared_ptr<::FrameResult> _0; | ||
115 | RenderJobResult() { tag = tag::RenderJobResult; } | ||
116 | }; | ||
117 | class RenderJobError : public ::RenderJobResult { | ||
118 | public: | ||
119 | String _0; | ||
120 | RenderJobError() { tag = tag::RenderJobError; } | ||
121 | }; | ||
122 | } | ||
123 | #endif | ||