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& operator=(MolangClientTextureSet const&);
43 MolangClientTextureSet(MolangClientTextureSet const&);
44 MolangClientTextureSet();
45
46public:
47 // member functions
48 // NOLINTBEGIN
49 MCNAPI_C ::std::unique_ptr<::MolangClientTextureSet::ExtraPBRData> _clonePBRData() const;
50
51 MCNAPI_C ::mce::ClientTexture const& getClientTexture() const;
52
53 MCNAPI ::MolangClientTextureSet& operator=(::MolangClientTextureSet&& rhs);
54 // NOLINTEND
55
56public:
57 // static functions
58 // NOLINTBEGIN
59 MCNAPI_C static ::MolangClientTextureSet const& getDefaultErrorValue();
60 // NOLINTEND
61
62public:
63 // constructor thunks
64 // NOLINTBEGIN
65 MCNAPI_C void* $ctor(::MolangClientTextureSet const& rhs);
66
67 MCNAPI_C void* $ctor(::HashedString const& name, ::mce::TexturePtr colorTexturePtr);
68
69 MCNAPI_C void*
70 $ctor(::HashedString const& name, ::mce::TexturePtr colorTexturePtr, ::mce::TexturePtr mersTexturePtr);
71
72 MCNAPI_C void* $ctor(
73 ::HashedString const& name,
74 ::mce::TexturePtr colorTexturePtr,
75 ::mce::TexturePtr mersTexturePtr,
76 ::mce::TexturePtr normalTexturePtr
77 );
78
79 MCNAPI_C void* $ctor(
80 ::HashedString const& name,
81 ::mce::TexturePtr colorTexturePtr,
82 ::mce::TexturePtr mersTexturePtr,
83 ::MERSTextureMode mersTextureMode,
84 ::mce::TexturePtr normalTexturePtr,
85 ::NormalTextureMode normalTextureMode
86 );
87
88 MCNAPI_C void* $ctor(
89 ::HashedString const& name,
90 ::mce::TexturePtr colorTexturePtr,
91 ::mce::TexturePtr mersTexturePtr,
92 ::MERSTextureMode mersTextureMode,
93 ::mce::TexturePtr normalTexturePtr,
94 ::NormalTextureMode normalTextureMode,
95 ::std::optional<::MERSUniformData> const& uniformData,
96 bool hasMERS,
97 bool hasNormals
98 );
99 // NOLINTEND
100
101public:
102 // destructor thunk
103 // NOLINTBEGIN
104 MCNAPI_C void $dtor();
105 // NOLINTEND
106};
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