diff options
Diffstat (limited to 'ddl/out/TestData.hpp')
-rw-r--r-- | ddl/out/TestData.hpp | 109 |
1 files changed, 109 insertions, 0 deletions
diff --git a/ddl/out/TestData.hpp b/ddl/out/TestData.hpp new file mode 100644 index 0000000..95f4436 --- /dev/null +++ b/ddl/out/TestData.hpp | |||
@@ -0,0 +1,109 @@ | |||
1 | // generated file, do not modify! | ||
2 | // 2016-01-28T13:15:31.27456Z | ||
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 RenderJob { | ||
59 | public: | ||
60 | enum class tag { | ||
61 | RenderJob | ||
62 | } tag; | ||
63 | }; | ||
64 | namespace data { | ||
65 | class RenderJob : public ::RenderJob { | ||
66 | public: | ||
67 | std::vector<std::shared_ptr<::Mesh>> meshes; | ||
68 | std::vector<String> textures; | ||
69 | std::shared_ptr<::PipelineSchema> schema; | ||
70 | std::vector<std::shared_ptr<::Scene>> scenes; | ||
71 | std::vector<std::shared_ptr<::Pipeline>> pipelines; | ||
72 | RenderJob() { tag = tag::RenderJob; } | ||
73 | }; | ||
74 | } | ||
75 | class FrameResult { | ||
76 | public: | ||
77 | enum class tag { | ||
78 | FrameResult | ||
79 | } tag; | ||
80 | }; | ||
81 | namespace data { | ||
82 | class FrameResult : public ::FrameResult { | ||
83 | public: | ||
84 | std::vector<Float> frRenderTimes; | ||
85 | Int frImageWidth; | ||
86 | Int frImageHeight; | ||
87 | FrameResult() { tag = tag::FrameResult; } | ||
88 | }; | ||
89 | } | ||
90 | class RenderJobResult { | ||
91 | public: | ||
92 | enum class tag { | ||
93 | RenderJobResult, | ||
94 | RenderJobError | ||
95 | } tag; | ||
96 | }; | ||
97 | namespace data { | ||
98 | class RenderJobResult : public ::RenderJobResult { | ||
99 | public: | ||
100 | std::shared_ptr<::FrameResult> _0; | ||
101 | RenderJobResult() { tag = tag::RenderJobResult; } | ||
102 | }; | ||
103 | class RenderJobError : public ::RenderJobResult { | ||
104 | public: | ||
105 | String _0; | ||
106 | RenderJobError() { tag = tag::RenderJobError; } | ||
107 | }; | ||
108 | } | ||
109 | #endif | ||