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
53public:
54 // prevent constructor by default
55 Mesh& operator=(Mesh const&);
56 Mesh(Mesh const&);
57 Mesh();
58};
59
60} // namespace glTF
Definition Mesh.h:15
Definition Mesh.h:7
Definition Alias.h:14