LeviLamina
Loading...
Searching...
No Matches
Mesh.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace Json { class Value; }
8// clang-format on
9
10namespace glTF {
11
12struct Mesh {
13public:
14 // Mesh inner types declare
15 // clang-format off
16 struct Primitive;
17 // clang-format on
18
19 // Mesh inner types define
20 struct Primitive {
21 public:
22 // Primitive inner types define
23 enum class Mode : int {
24 Point = 0,
25 Lines = 1,
26 LineLoop = 2,
27 LineStrip = 3,
28 Triangles = 4,
29 TriangleStrip = 5,
30 TriangleFan = 6,
31 };
32
33 public:
34 // member variables
35 // NOLINTBEGIN
40 // NOLINTEND
41
42#ifdef LL_PLAT_S
43 public:
44 // prevent constructor by default
45 Primitive& operator=(Primitive const&);
46 Primitive(Primitive const&);
47 Primitive();
48
49#else // LL_PLAT_C
50 public:
51 // prevent constructor by default
52 Primitive& operator=(Primitive const&);
53 Primitive(Primitive const&);
54
55#endif
56 public:
57 // member functions
58 // NOLINTBEGIN
59#ifdef LL_PLAT_C
60 MCNAPI Primitive();
61
62 MCNAPI ::Json::Value serialize() const;
63#endif
64 // NOLINTEND
65
66 public:
67 // constructor thunks
68 // NOLINTBEGIN
69#ifdef LL_PLAT_C
70 MCNAPI void* $ctor();
71#endif
72 // NOLINTEND
73 };
74
75public:
76 // member variables
77 // NOLINTBEGIN
82 // NOLINTEND
83
84#ifdef LL_PLAT_S
85public:
86 // prevent constructor by default
87 Mesh& operator=(Mesh const&);
88 Mesh(Mesh const&);
89 Mesh();
90
91#else // LL_PLAT_C
92public:
93 // prevent constructor by default
94 Mesh& operator=(Mesh const&);
95
96#endif
97public:
98 // member functions
99 // NOLINTBEGIN
100#ifdef LL_PLAT_C
101 MCNAPI Mesh();
102
103 MCNAPI Mesh(::glTF::Mesh const&);
104
105 MCNAPI ::Json::Value serialize() const;
106
107 MCNAPI ~Mesh();
108#endif
109 // NOLINTEND
110
111public:
112 // constructor thunks
113 // NOLINTBEGIN
114#ifdef LL_PLAT_C
115 MCNAPI void* $ctor();
116
117 MCNAPI void* $ctor(::glTF::Mesh const&);
118#endif
119 // NOLINTEND
120
121public:
122 // destructor thunk
123 // NOLINTBEGIN
124#ifdef LL_PLAT_C
125 MCNAPI void $dtor();
126#endif
127 // NOLINTEND
128};
129
130} // namespace glTF
Definition Value.h:16
Definition Mesh.h:20
Definition Mesh.h:12
Definition Alias.h:14
Definition serialize.h:11