LeviLamina
Loading...
Searching...
No Matches
Mesh.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5namespace glTF {
6
7struct Mesh {
8public:
9 // Mesh inner types declare
10 // clang-format off
11 struct Primitive;
12 // clang-format on
13
14 // Mesh inner types define
15 struct Primitive {
16 public:
17 // Primitive inner types define
18 enum class Mode : int {
19 Point = 0,
20 Lines = 1,
21 LineLoop = 2,
22 LineStrip = 3,
23 Triangles = 4,
24 TriangleStrip = 5,
25 TriangleFan = 6,
26 };
27
28 public:
29 // member variables
30 // NOLINTBEGIN
35 // NOLINTEND
36
37 public:
38 // prevent constructor by default
39 Primitive& operator=(Primitive const&);
40 Primitive(Primitive const&);
41 Primitive();
42 };
43
44public:
45 // member variables
46 // NOLINTBEGIN
51 // NOLINTEND
52
53#ifdef LL_PLAT_S
54public:
55 // prevent constructor by default
56 Mesh& operator=(Mesh const&);
57 Mesh(Mesh const&);
58 Mesh();
59
60#else // LL_PLAT_C
61public:
62 // prevent constructor by default
63 Mesh& operator=(Mesh const&);
64 Mesh(Mesh const&);
65
66#endif
67public:
68 // member functions
69 // NOLINTBEGIN
70#ifdef LL_PLAT_C
71 MCNAPI Mesh();
72
73 MCNAPI ~Mesh();
74#endif
75 // NOLINTEND
76
77public:
78 // constructor thunks
79 // NOLINTBEGIN
80#ifdef LL_PLAT_C
81 MCNAPI void* $ctor();
82#endif
83 // NOLINTEND
84
85public:
86 // destructor thunk
87 // NOLINTBEGIN
88#ifdef LL_PLAT_C
89 MCNAPI void $dtor();
90#endif
91 // NOLINTEND
92};
93
94} // namespace glTF
Definition Mesh.h:15
Definition Alias.h:14