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 MCAPI_C ::std::optional<::Bedrock::NonOwnerPointer<::cg::TextureSetLayerDefinition const>>
38 _addLayer(::cg::TextureSetLayerType const& type, ::mce::Color const& color);
39
40 MCAPI_C ::std::optional<::Bedrock::NonOwnerPointer<::cg::TextureSetLayerDefinition const>>
41 _addLayer(::cg::TextureSetLayerType const& type, ::ResourceLocationPair const& resourceLocationPair);
42
43 MCAPI_C ::Bedrock::NotNullNonOwnerPtr<::cg::TextureSetImageContainer> _getImageContainer();
44
45 MCAPI_C void _removeLayerInfo(::cg::TextureSetLayerType const& type);
46
47 MCAPI_C ::std::vector<::Bedrock::NotNullNonOwnerPtr<::cg::TextureSetLayerDefinition const>>
48 getLayerInfoList() const;
49
50 MCAPI_C uint64 getStorageSize(::cg::TextureSetLayerType t) const;
51
52 MCAPI_C ::std::optional<::std::string> hasValidationError() const;
53 // NOLINTEND
54
55public:
56 // constructor thunks
57 // NOLINTBEGIN
58 MCAPI_C void* $ctor();
59 // NOLINTEND
60};
61
62} // namespace cg
Definition ResourceLocationPair.h:11
Definition TextureSetDefinition.h:19
Definition TextureSetImageContainer.h:20
Definition TextureSetLayerDefinition.h:14
Definition Color.h:13