diff options
Diffstat (limited to 'ddl/out/LambdaCube.Mesh.hpp')
-rw-r--r-- | ddl/out/LambdaCube.Mesh.hpp | 107 |
1 files changed, 107 insertions, 0 deletions
diff --git a/ddl/out/LambdaCube.Mesh.hpp b/ddl/out/LambdaCube.Mesh.hpp new file mode 100644 index 0000000..34583a2 --- /dev/null +++ b/ddl/out/LambdaCube.Mesh.hpp | |||
@@ -0,0 +1,107 @@ | |||
1 | // generated file, do not modify! | ||
2 | // 2016-01-28T13:15:31.220124Z | ||
3 | |||
4 | #ifndef HEADER_LambdaCube.Mesh_H | ||
5 | #define HEADER_LambdaCube.Mesh_H | ||
6 | |||
7 | #include "RT.hpp" | ||
8 | |||
9 | |||
10 | class MeshAttribute { | ||
11 | public: | ||
12 | enum class tag { | ||
13 | A_Float, | ||
14 | A_V2F, | ||
15 | A_V3F, | ||
16 | A_V4F, | ||
17 | A_M22F, | ||
18 | A_M33F, | ||
19 | A_M44F, | ||
20 | A_Int, | ||
21 | A_Word | ||
22 | } tag; | ||
23 | }; | ||
24 | namespace data { | ||
25 | class A_Float : public ::MeshAttribute { | ||
26 | public: | ||
27 | std::vector<Float> _0; | ||
28 | A_Float() { tag = tag::A_Float; } | ||
29 | }; | ||
30 | class A_V2F : public ::MeshAttribute { | ||
31 | public: | ||
32 | std::vector<V2F> _0; | ||
33 | A_V2F() { tag = tag::A_V2F; } | ||
34 | }; | ||
35 | class A_V3F : public ::MeshAttribute { | ||
36 | public: | ||
37 | std::vector<V3F> _0; | ||
38 | A_V3F() { tag = tag::A_V3F; } | ||
39 | }; | ||
40 | class A_V4F : public ::MeshAttribute { | ||
41 | public: | ||
42 | std::vector<V4F> _0; | ||
43 | A_V4F() { tag = tag::A_V4F; } | ||
44 | }; | ||
45 | class A_M22F : public ::MeshAttribute { | ||
46 | public: | ||
47 | std::vector<M22F> _0; | ||
48 | A_M22F() { tag = tag::A_M22F; } | ||
49 | }; | ||
50 | class A_M33F : public ::MeshAttribute { | ||
51 | public: | ||
52 | std::vector<M33F> _0; | ||
53 | A_M33F() { tag = tag::A_M33F; } | ||
54 | }; | ||
55 | class A_M44F : public ::MeshAttribute { | ||
56 | public: | ||
57 | std::vector<M44F> _0; | ||
58 | A_M44F() { tag = tag::A_M44F; } | ||
59 | }; | ||
60 | class A_Int : public ::MeshAttribute { | ||
61 | public: | ||
62 | std::vector<Int32> _0; | ||
63 | A_Int() { tag = tag::A_Int; } | ||
64 | }; | ||
65 | class A_Word : public ::MeshAttribute { | ||
66 | public: | ||
67 | std::vector<Word32> _0; | ||
68 | A_Word() { tag = tag::A_Word; } | ||
69 | }; | ||
70 | } | ||
71 | class MeshPrimitive { | ||
72 | public: | ||
73 | enum class tag { | ||
74 | P_Points, | ||
75 | P_TriangleStrip, | ||
76 | P_Triangles, | ||
77 | P_TriangleStripI, | ||
78 | P_TrianglesI | ||
79 | } tag; | ||
80 | }; | ||
81 | namespace data { | ||
82 | class P_TriangleStripI : public ::MeshPrimitive { | ||
83 | public: | ||
84 | std::vector<Int32> _0; | ||
85 | P_TriangleStripI() { tag = tag::P_TriangleStripI; } | ||
86 | }; | ||
87 | class P_TrianglesI : public ::MeshPrimitive { | ||
88 | public: | ||
89 | std::vector<Int32> _0; | ||
90 | P_TrianglesI() { tag = tag::P_TrianglesI; } | ||
91 | }; | ||
92 | } | ||
93 | class Mesh { | ||
94 | public: | ||
95 | enum class tag { | ||
96 | Mesh | ||
97 | } tag; | ||
98 | }; | ||
99 | namespace data { | ||
100 | class Mesh : public ::Mesh { | ||
101 | public: | ||
102 | std::map<String, std::shared_ptr<::MeshAttribute>> mAttributes; | ||
103 | std::shared_ptr<::MeshPrimitive> mPrimitive; | ||
104 | Mesh() { tag = tag::Mesh; } | ||
105 | }; | ||
106 | } | ||
107 | #endif | ||