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 void _removeLayerInfo(::cg::TextureSetLayerType const& type);
49
50 MCAPI ::std::vector<::Bedrock::NotNullNonOwnerPtr<::cg::TextureSetLayerDefinition const>> getLayerInfoList() const;
51
52 MCAPI uint64 getStorageSize(::cg::TextureSetLayerType t) const;
53
54 MCAPI ::std::optional<::std::string> hasValidationError() const;
55#endif
56 // NOLINTEND
57
58public:
59 // constructor thunks
60 // NOLINTBEGIN
61#ifdef LL_PLAT_C
62 MCAPI void* $ctor();
63#endif
64 // NOLINTEND
65};
66
67} // namespace cg
Definition ResourceLocationPair.h:11
Definition TextureSetDefinition.h:19
Definition TextureSetImageContainer.h:20
Definition TextureSetLayerDefinition.h:14
Definition Color.h:13