LeviLamina
Loading...
Searching...
No Matches
Accessor.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 Accessor {
13public:
14 // Accessor inner types define
15 enum class Type : int {
16 Scalar = 0,
17 Vec2 = 1,
18 Vec3 = 2,
19 Vec4 = 3,
20 Mat2 = 4,
21 Mat3 = 5,
22 Mat4 = 6,
23 };
24
25public:
26 // member variables
27 // NOLINTBEGIN
38 // NOLINTEND
39
40#ifdef LL_PLAT_S
41public:
42 // prevent constructor by default
43 Accessor& operator=(Accessor const&);
44 Accessor(Accessor const&);
45 Accessor();
46
47#else // LL_PLAT_C
48public:
49 // prevent constructor by default
50 Accessor& operator=(Accessor const&);
51
52#endif
53public:
54 // member functions
55 // NOLINTBEGIN
56#ifdef LL_PLAT_C
57 MCNAPI Accessor();
58
59 MCNAPI Accessor(::glTF::Accessor const&);
60
61 MCNAPI ::Json::Value serialize() const;
62
63 MCNAPI ~Accessor();
64#endif
65 // NOLINTEND
66
67public:
68 // static functions
69 // NOLINTBEGIN
70#ifdef LL_PLAT_C
71 MCNAPI static int getAccessorTypeSize(::glTF::Accessor::Type accessorType);
72#endif
73 // NOLINTEND
74
75public:
76 // constructor thunks
77 // NOLINTBEGIN
78#ifdef LL_PLAT_C
79 MCNAPI void* $ctor();
80
81 MCNAPI void* $ctor(::glTF::Accessor const&);
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 Value.h:16
Definition Vec2.h:5
Definition Vec3.h:10
Definition Vec4.h:5
Definition Accessor.h:12
Definition Alias.h:14
Definition serialize.h:11