LeviLamina
Loading...
Searching...
No Matches
TextureSetDefinition.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/resource/ResourceLocationPair.h"
7#include "mc/deps/core/utility/NonOwnerPointer.h"
8#include "mc/deps/core_graphics/TextureSetLayerType.h"
9
10// auto generated forward declare list
11// clang-format off
12namespace cg { class TextureSetImageContainer; }
13namespace cg { class TextureSetLayerDefinition; }
14namespace mce { class Color; }
15// clang-format on
16
17namespace cg {
18
20public:
21 // TextureSetDefinition inner types define
22 using TextureSetLayerInfoList = ::std::vector<::cg::TextureSetLayerDefinition>;
23
24public:
25 // member variables
26 // NOLINTBEGIN
27 ::ll::TypedStorage<8, 24, ::std::vector<::cg::TextureSetLayerDefinition>> mLayerInfoList;
28 ::ll::TypedStorage<1, 1, bool> mIsMissingTexture;
29 ::ll::TypedStorage<1, 1, bool> mNeedsDecompression;
30 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::cg::TextureSetImageContainer>> mTextureSetImageData;
31 ::ll::TypedStorage<8, 112, ::ResourceLocationPair> mResourceLocationPair;
32 // NOLINTEND
33
34public:
35 // member functions
36 // NOLINTBEGIN
37#ifdef LL_PLAT_C
39
40 MCAPI ::std::optional<::Bedrock::NonOwnerPointer<::cg::TextureSetLayerDefinition const>>
41 _addLayer(::cg::TextureSetLayerType const& type, ::mce::Color const& color);
42
43 MCAPI ::std::optional<::Bedrock::NonOwnerPointer<::cg::TextureSetLayerDefinition const>>
44 _addLayer(::cg::TextureSetLayerType const& type, ::ResourceLocationPair const& resourceLocationPair);
45
46 MCAPI ::Bedrock::NotNullNonOwnerPtr<::cg::TextureSetImageContainer> _getImageContainer();
47
48 MCAPI uint64 getStorageSize(::cg::TextureSetLayerType t) const;
49
50 MCAPI ::std::optional<::std::string> hasValidationError() const;
51
53#endif
54 // NOLINTEND
55
56public:
57 // constructor thunks
58 // NOLINTBEGIN
59#ifdef LL_PLAT_C
60 MCAPI void* $ctor();
61#endif
62 // NOLINTEND
63
64public:
65 // destructor thunk
66 // NOLINTBEGIN
67#ifdef LL_PLAT_C
68 MCAPI void $dtor();
69#endif
70 // NOLINTEND
71};
72
73} // namespace cg
Definition ResourceLocationPair.h:9
Definition TextureSetDefinition.h:19
Definition TextureSetImageContainer.h:20
Definition TextureSetLayerDefinition.h:14
Definition Color.h:13