LeviLamina
Loading...
Searching...
No Matches
MeshData.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core_graphics/enums/PrimitiveMode.h"
7
8namespace mce {
9
10class MeshData {
11public:
12 // MeshData inner types define
13 using Index = uint;
14
15public:
16 // member variables
17 // NOLINTBEGIN
18 ::ll::TypedStorage<1, 1, ::mce::PrimitiveMode> mMode;
19 ::ll::TypedStorage<8, 24, ::std::vector<::glm::vec3>> mPositions;
20 ::ll::TypedStorage<8, 24, ::std::vector<::glm::vec4>> mNormals;
21 ::ll::TypedStorage<8, 24, ::std::vector<::glm::vec4>> mTangents;
22 ::ll::TypedStorage<8, 24, ::std::vector<uint>> mIndices;
23 ::ll::TypedStorage<8, 24, ::std::vector<uint>> mColors;
24 ::ll::TypedStorage<8, 24, ::std::vector<ushort>> mBoneId0s;
25 ::ll::TypedStorage<8, 72, ::std::vector<::glm::vec2>[3]> mTextureUVs;
26 ::ll::TypedStorage<8, 24, ::std::vector<ushort>> mPBRTextureIndices;
27 ::ll::TypedStorage<8, 24, ::std::vector<uint>> mMERS;
28 ::ll::TypedStorage<1, 14, ::std::array<bool, 14>> mFieldEnabled;
29 // NOLINTEND
30
31public:
32 // prevent constructor by default
33 MeshData& operator=(MeshData const&);
34 MeshData(MeshData const&);
35
36public:
37 // member functions
38 // NOLINTBEGIN
39 MCAPI MeshData();
40
41 MCAPI MeshData(::mce::MeshData&&);
42
43 MCAPI void clear();
44
45 MCAPI ::mce::MeshData clone() const;
46
47 MCAPI void freeMemory();
48
49 MCAPI ::mce::MeshData& operator=(::mce::MeshData&&);
50
51 MCAPI ~MeshData();
52 // NOLINTEND
53
54public:
55 // constructor thunks
56 // NOLINTBEGIN
57 MCAPI void* $ctor();
58
59 MCAPI void* $ctor(::mce::MeshData&&);
60 // NOLINTEND
61
62public:
63 // destructor thunk
64 // NOLINTBEGIN
65 MCAPI void $dtor();
66 // NOLINTEND
67};
68
69} // namespace mce
Definition MeshData.h:7