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
13struct MERSUniformData;
14namespace mce { class TexturePtr; }
15namespace mce { struct ClientTexture; }
16// clang-format on
17
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 // member functions
42 // NOLINTBEGIN
43#ifdef LL_PLAT_C
45
46 MCAPI explicit MolangClientTextureSet(::HashedString const& name);
47
49
50 MCAPI MolangClientTextureSet(::HashedString const& name, ::mce::TexturePtr colorTexturePtr);
51
53 ::HashedString const& name,
54 ::mce::TexturePtr colorTexturePtr,
55 ::mce::TexturePtr mersTexturePtr
56 );
57
59 ::HashedString const& name,
60 ::mce::TexturePtr colorTexturePtr,
61 ::mce::TexturePtr mersTexturePtr,
62 ::mce::TexturePtr normalTexturePtr
63 );
64
66 ::HashedString const& name,
67 ::mce::TexturePtr colorTexturePtr,
68 ::mce::TexturePtr mersTexturePtr,
69 ::MERSTextureMode mersTextureMode,
70 ::mce::TexturePtr normalTexturePtr,
71 ::NormalTextureMode normalTextureMode
72 );
73
75 ::HashedString const& name,
76 ::mce::TexturePtr colorTexturePtr,
77 ::mce::TexturePtr mersTexturePtr,
78 ::MERSTextureMode mersTextureMode,
79 ::mce::TexturePtr normalTexturePtr,
80 ::NormalTextureMode normalTextureMode,
81 ::std::optional<::MERSUniformData> const& uniformData
82 );
83
84 MCAPI ::mce::ClientTexture const& getClientMERSTexture() const;
85
86 MCAPI ::MERSTextureMode getClientMERSTextureMode() const;
87
88 MCAPI ::mce::ClientTexture const& getClientNormalTexture() const;
89
90 MCAPI ::NormalTextureMode getClientNormalTextureMode() const;
91
92 MCAPI ::mce::ClientTexture const& getClientTexture() const;
93
94 MCAPI ::std::optional<::MERSUniformData> getMERSUniforms() const;
95
96 MCAPI ::MolangClientTextureSet& operator=(::MolangClientTextureSet&& rhs);
97
98 MCAPI ::MolangClientTextureSet& operator=(::MolangClientTextureSet const& rhs);
99
101#endif
102 // NOLINTEND
103
104public:
105 // constructor thunks
106 // NOLINTBEGIN
107#ifdef LL_PLAT_C
108 MCAPI void* $ctor();
109
110 MCAPI void* $ctor(::HashedString const& name);
111
112 MCAPI void* $ctor(::MolangClientTextureSet const& rhs);
113
114 MCAPI void* $ctor(::HashedString const& name, ::mce::TexturePtr colorTexturePtr);
115
116 MCAPI void* $ctor(::HashedString const& name, ::mce::TexturePtr colorTexturePtr, ::mce::TexturePtr mersTexturePtr);
117
118 MCAPI void* $ctor(
119 ::HashedString const& name,
120 ::mce::TexturePtr colorTexturePtr,
121 ::mce::TexturePtr mersTexturePtr,
122 ::mce::TexturePtr normalTexturePtr
123 );
124
125 MCAPI void* $ctor(
126 ::HashedString const& name,
127 ::mce::TexturePtr colorTexturePtr,
128 ::mce::TexturePtr mersTexturePtr,
129 ::MERSTextureMode mersTextureMode,
130 ::mce::TexturePtr normalTexturePtr,
131 ::NormalTextureMode normalTextureMode
132 );
133
134 MCAPI void* $ctor(
135 ::HashedString const& name,
136 ::mce::TexturePtr colorTexturePtr,
137 ::mce::TexturePtr mersTexturePtr,
138 ::MERSTextureMode mersTextureMode,
139 ::mce::TexturePtr normalTexturePtr,
140 ::NormalTextureMode normalTextureMode,
141 ::std::optional<::MERSUniformData> const& uniformData
142 );
143#endif
144 // NOLINTEND
145
146public:
147 // destructor thunk
148 // NOLINTBEGIN
149#ifdef LL_PLAT_C
150 MCAPI void $dtor();
151#endif
152 // NOLINTEND
153};
Definition HashedString.h:5
Definition TexturePtr.h:7
Definition BedrockTextureData.h:5
Definition MERSUniformData.h:5
Definition MolangClientTextureSet.h:26
Definition MolangClientTextureSet.h:18
Definition ClientTexture.h:7