LeviLamina
Loading...
Searching...
No Matches
MolangClientTextureSet.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/string/HashedString.h"
7#include "mc/deps/minecraft_renderer/resources/MERSTextureMode.h"
8#include "mc/deps/minecraft_renderer/resources/NormalTextureMode.h"
9
10// auto generated forward declare list
11// clang-format off
12struct MERSUniformData;
13namespace mce { class TexturePtr; }
15namespace mce { struct ClientTexture; }
16// clang-format on
17
18struct MolangClientTextureSet {
19public:
20 // MolangClientTextureSet inner types declare
21 // clang-format off
22 struct ExtraPBRData;
23 // clang-format on
24
25 // MolangClientTextureSet inner types define
26 struct ExtraPBRData {};
27
28public:
29// member variables
30// NOLINTBEGIN
31#ifdef LL_PLAT_S
32 ::ll::TypedStorage<8, 48, ::HashedString> mData;
33#else // LL_PLAT_C
34 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::BedrockTextureData const>> mColorTextureDataWeakPtr;
35 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::MolangClientTextureSet::ExtraPBRData>> mPBRData;
36 ::ll::TypedStorage<8, 48, ::HashedString> mName;
37#endif
38 // NOLINTEND
39
40#ifdef LL_PLAT_S
41public:
42 // prevent constructor by default
43 MolangClientTextureSet& operator=(MolangClientTextureSet const&);
44 MolangClientTextureSet(MolangClientTextureSet const&);
45 MolangClientTextureSet();
46
47#else // LL_PLAT_C
48public:
49 // prevent constructor by default
50 MolangClientTextureSet();
51
52#endif
53public:
54 // member functions
55 // NOLINTBEGIN
56#ifdef LL_PLAT_C
57 MCAPI MolangClientTextureSet(::MolangClientTextureSet const& rhs);
58
59 MCAPI MolangClientTextureSet(::HashedString const& name, ::mce::TexturePtr colorTexturePtr);
60
61 MCAPI MolangClientTextureSet(
62 ::HashedString const& name,
63 ::mce::TexturePtr colorTexturePtr,
64 ::mce::TexturePtr mersTexturePtr
65 );
66
67 MCAPI MolangClientTextureSet(
68 ::HashedString const& name,
69 ::mce::TexturePtr colorTexturePtr,
70 ::mce::TexturePtr mersTexturePtr,
71 ::mce::TexturePtr normalTexturePtr
72 );
73
74 MCAPI MolangClientTextureSet(
75 ::HashedString const& name,
76 ::mce::TexturePtr colorTexturePtr,
77 ::mce::TexturePtr mersTexturePtr,
78 ::MERSTextureMode mersTextureMode,
79 ::mce::TexturePtr normalTexturePtr,
80 ::NormalTextureMode normalTextureMode
81 );
82
83 MCAPI MolangClientTextureSet(
84 ::HashedString const& name,
85 ::mce::TexturePtr colorTexturePtr,
86 ::mce::TexturePtr mersTexturePtr,
87 ::MERSTextureMode mersTextureMode,
88 ::mce::TexturePtr normalTexturePtr,
89 ::NormalTextureMode normalTextureMode,
90 ::std::optional<::MERSUniformData> const& uniformData
91 );
92
93 MCAPI ::std::unique_ptr<::MolangClientTextureSet::ExtraPBRData> _clonePBRData() const;
94
95 MCAPI ::mce::ClientTexture const& getClientTexture() const;
96#endif
97
98 MCAPI ::MolangClientTextureSet& operator=(::MolangClientTextureSet&& rhs);
99
100#ifdef LL_PLAT_C
101 MCAPI ::MolangClientTextureSet& operator=(::MolangClientTextureSet const& rhs);
102
103 MCAPI ~MolangClientTextureSet();
104#endif
105 // NOLINTEND
106
107public:
108 // static functions
109 // NOLINTBEGIN
110#ifdef LL_PLAT_C
111 MCAPI static ::MolangClientTextureSet const& getDefaultErrorValue();
112#endif
113 // NOLINTEND
114
115public:
116 // constructor thunks
117 // NOLINTBEGIN
118#ifdef LL_PLAT_C
119 MCAPI void* $ctor(::MolangClientTextureSet const& rhs);
120
121 MCAPI void* $ctor(::HashedString const& name, ::mce::TexturePtr colorTexturePtr);
122
123 MCAPI void* $ctor(::HashedString const& name, ::mce::TexturePtr colorTexturePtr, ::mce::TexturePtr mersTexturePtr);
124
125 MCAPI void* $ctor(
126 ::HashedString const& name,
127 ::mce::TexturePtr colorTexturePtr,
128 ::mce::TexturePtr mersTexturePtr,
129 ::mce::TexturePtr normalTexturePtr
130 );
131
132 MCAPI void* $ctor(
133 ::HashedString const& name,
134 ::mce::TexturePtr colorTexturePtr,
135 ::mce::TexturePtr mersTexturePtr,
136 ::MERSTextureMode mersTextureMode,
137 ::mce::TexturePtr normalTexturePtr,
138 ::NormalTextureMode normalTextureMode
139 );
140
141 MCAPI void* $ctor(
142 ::HashedString const& name,
143 ::mce::TexturePtr colorTexturePtr,
144 ::mce::TexturePtr mersTexturePtr,
145 ::MERSTextureMode mersTextureMode,
146 ::mce::TexturePtr normalTexturePtr,
147 ::NormalTextureMode normalTextureMode,
148 ::std::optional<::MERSUniformData> const& uniformData
149 );
150#endif
151 // NOLINTEND
152
153public:
154 // destructor thunk
155 // NOLINTBEGIN
156#ifdef LL_PLAT_C
157 MCAPI void $dtor();
158#endif
159 // NOLINTEND
160};
Definition HashedString.h:5
Definition TexturePtr.h:19
Definition BedrockTextureData.h:5
Definition MERSUniformData.h:5
Definition MolangClientTextureSet.h:26
Definition ClientTexture.h:7