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
40public:
41 // prevent constructor by default
42 MolangClientTextureSet();
43
44public:
45 // member functions
46 // NOLINTBEGIN
47 MCNAPI_C MolangClientTextureSet(::MolangClientTextureSet const& rhs);
48
49 MCNAPI_C MolangClientTextureSet(::HashedString const& name, ::mce::TexturePtr colorTexturePtr);
50
51 MCNAPI_C MolangClientTextureSet(
52 ::HashedString const& name,
53 ::mce::TexturePtr colorTexturePtr,
54 ::mce::TexturePtr mersTexturePtr
55 );
56
57 MCNAPI_C MolangClientTextureSet(
58 ::HashedString const& name,
59 ::mce::TexturePtr colorTexturePtr,
60 ::mce::TexturePtr mersTexturePtr,
61 ::mce::TexturePtr normalTexturePtr
62 );
63
64 MCNAPI_C MolangClientTextureSet(
65 ::HashedString const& name,
66 ::mce::TexturePtr colorTexturePtr,
67 ::mce::TexturePtr mersTexturePtr,
68 ::MERSTextureMode mersTextureMode,
69 ::mce::TexturePtr normalTexturePtr,
70 ::NormalTextureMode normalTextureMode
71 );
72
73 MCNAPI_C MolangClientTextureSet(
74 ::HashedString const& name,
75 ::mce::TexturePtr colorTexturePtr,
76 ::mce::TexturePtr mersTexturePtr,
77 ::MERSTextureMode mersTextureMode,
78 ::mce::TexturePtr normalTexturePtr,
79 ::NormalTextureMode normalTextureMode,
80 ::std::optional<::MERSUniformData> const& uniformData,
81 bool hasMERS,
82 bool hasNormals
83 );
84
85 MCNAPI_C ::std::unique_ptr<::MolangClientTextureSet::ExtraPBRData> _clonePBRData() const;
86
87 MCNAPI_C ::mce::ClientTexture const& getClientTexture() const;
88
89 MCNAPI ::MolangClientTextureSet& operator=(::MolangClientTextureSet&& rhs);
90
91 MCNAPI_C ::MolangClientTextureSet& operator=(::MolangClientTextureSet const& rhs);
92
93 MCNAPI_C ~MolangClientTextureSet();
94 // NOLINTEND
95
96public:
97 // static functions
98 // NOLINTBEGIN
99 MCNAPI_C static ::MolangClientTextureSet const& getDefaultErrorValue();
100 // NOLINTEND
101
102public:
103 // constructor thunks
104 // NOLINTBEGIN
105 MCNAPI_C void* $ctor(::MolangClientTextureSet const& rhs);
106
107 MCNAPI_C void* $ctor(::HashedString const& name, ::mce::TexturePtr colorTexturePtr);
108
109 MCNAPI_C void*
110 $ctor(::HashedString const& name, ::mce::TexturePtr colorTexturePtr, ::mce::TexturePtr mersTexturePtr);
111
112 MCNAPI_C void* $ctor(
113 ::HashedString const& name,
114 ::mce::TexturePtr colorTexturePtr,
115 ::mce::TexturePtr mersTexturePtr,
116 ::mce::TexturePtr normalTexturePtr
117 );
118
119 MCNAPI_C void* $ctor(
120 ::HashedString const& name,
121 ::mce::TexturePtr colorTexturePtr,
122 ::mce::TexturePtr mersTexturePtr,
123 ::MERSTextureMode mersTextureMode,
124 ::mce::TexturePtr normalTexturePtr,
125 ::NormalTextureMode normalTextureMode
126 );
127
128 MCNAPI_C void* $ctor(
129 ::HashedString const& name,
130 ::mce::TexturePtr colorTexturePtr,
131 ::mce::TexturePtr mersTexturePtr,
132 ::MERSTextureMode mersTextureMode,
133 ::mce::TexturePtr normalTexturePtr,
134 ::NormalTextureMode normalTextureMode,
135 ::std::optional<::MERSUniformData> const& uniformData,
136 bool hasMERS,
137 bool hasNormals
138 );
139 // NOLINTEND
140
141public:
142 // destructor thunk
143 // NOLINTBEGIN
144 MCNAPI_C void $dtor();
145 // NOLINTEND
146};
Definition HashedString.h:5
Definition TexturePtr.h:19
Definition BedrockTextureData.h:5
Definition MERSUniformData.h:5
Definition MolangClientTextureSet.h:26
MCAPI::MolangClientTextureSet & operator=(::MolangClientTextureSet &&rhs)
Definition ClientTexture.h:7