LeviLamina
Loading...
Searching...
No Matches
Texture.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 Texture {
13public:
14 // Texture inner types define
15 enum class Format : int {
16 Alpha = 6406,
17 Rgb = 6407,
18 Rgba = 6408,
19 Luminance = 6409,
20 LuminanceAlpha = 6410,
21 };
22
23 enum class Target : int {
24 Texture2d = 3553,
25 };
26
27 enum class Type : int {
28 Byte = 5121,
29 Short5_6_5 = 33635,
30 Short4_4_4_4 = 32819,
31 Short5_5_5_1 = 32820,
32 };
33
34public:
35 // member variables
36 // NOLINTBEGIN
45 // NOLINTEND
46
47#ifdef LL_PLAT_S
48public:
49 // prevent constructor by default
50 Texture& operator=(Texture const&);
51 Texture(Texture const&);
52 Texture();
53
54#else // LL_PLAT_C
55public:
56 // prevent constructor by default
57 Texture& operator=(Texture const&);
58 Texture(Texture const&);
59
60#endif
61public:
62 // member functions
63 // NOLINTBEGIN
64#ifdef LL_PLAT_C
65 MCNAPI Texture();
66
67 MCNAPI ::Json::Value serialize() const;
68
69 MCNAPI ~Texture();
70#endif
71 // NOLINTEND
72
73public:
74 // constructor thunks
75 // NOLINTBEGIN
76#ifdef LL_PLAT_C
77 MCNAPI void* $ctor();
78#endif
79 // NOLINTEND
80
81public:
82 // destructor thunk
83 // NOLINTBEGIN
84#ifdef LL_PLAT_C
85 MCNAPI void $dtor();
86#endif
87 // NOLINTEND
88};
89
90} // namespace glTF
Definition Value.h:16
Definition Alias.h:14
Definition serialize.h:11