LeviLamina
Loading...
Searching...
No Matches
TextureSetImageDescription.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/math/Color.h"
7#include "mc/deps/core/math/ColorChannel.h"
8#include "mc/deps/core_graphics/ImageDescription.h"
9#include "mc/deps/core_graphics/TextureSetLayerType.h"
10
11// auto generated forward declare list
12// clang-format off
13namespace cg { class TextureSetDefinition; }
14// clang-format on
15
16namespace cg {
17
19public:
20 // TextureSetImageDescription inner types declare
21 // clang-format off
22 class LayerInfoVar;
23 // clang-format on
24
25 // TextureSetImageDescription inner types define
26 class LayerInfoVar {
27 public:
28 // LayerInfoVar inner types define
29 using Var = ::std::variant<::cg::ImageDescription, ::ColorChannel, ::mce::Color>;
30
31 public:
32 // member variables
33 // NOLINTBEGIN
34 ::ll::TypedStorage<1, 1, ::cg::TextureSetLayerType> mLayerType;
35 ::ll::TypedStorage<4, 24, ::std::variant<::cg::ImageDescription, ::ColorChannel, ::mce::Color>> mData;
36 // NOLINTEND
37
38#ifdef LL_PLAT_S
39#else // LL_PLAT_C
40 public:
41 // prevent constructor by default
42 LayerInfoVar(LayerInfoVar const&);
43 LayerInfoVar();
44
45#endif
46 public:
47 // member functions
48 // NOLINTBEGIN
49#ifdef LL_PLAT_C
50 MCFOLD ::cg::TextureSetLayerType const& getLayerType() const;
51
52 MCAPI bool isColor() const;
53
54 MCAPI bool isColorChannel() const;
55
56 MCAPI bool isImage() const;
57
58 MCAPI ::cg::TextureSetImageDescription::LayerInfoVar&
60#endif
61 // NOLINTEND
62 };
63
64 using LayerInfoVarList = ::std::vector<::cg::TextureSetImageDescription::LayerInfoVar>;
65
66 using LayerInfoVarListIterator = ::std::_Vector_const_iterator<
67 ::std::_Vector_val<::std::_Simple_types<::cg::TextureSetImageDescription::LayerInfoVar>>>;
68
69public:
70 // member variables
71 // NOLINTBEGIN
72 ::ll::TypedStorage<8, 24, ::std::vector<::cg::TextureSetImageDescription::LayerInfoVar>> mLayerInfo;
73 // NOLINTEND
74
75public:
76 // member functions
77 // NOLINTBEGIN
78#ifdef LL_PLAT_C
80
81 MCAPI explicit TextureSetImageDescription(::cg::ImageDescription const& imageDesc);
82
83 MCAPI explicit TextureSetImageDescription(::gsl::not_null<::cg::TextureSetDefinition const*> textureSet);
84
85 MCFOLD ::std::_Vector_const_iterator<
86 ::std::_Vector_val<::std::_Simple_types<::cg::TextureSetImageDescription::LayerInfoVar>>> const
87 begin() const;
88
89 MCFOLD ::std::_Vector_const_iterator<
90 ::std::_Vector_val<::std::_Simple_types<::cg::TextureSetImageDescription::LayerInfoVar>>> const
91 end() const;
92
93 MCFOLD uint64 const getLayerCount() const;
94
95 MCAPI ::cg::TextureSetImageDescription::LayerInfoVar const*
96 tryGetLayerInfo(::cg::TextureSetLayerType const& layerType) const;
97
99#endif
100 // NOLINTEND
101
102public:
103 // constructor thunks
104 // NOLINTBEGIN
105#ifdef LL_PLAT_C
106 MCFOLD void* $ctor();
107
108 MCAPI void* $ctor(::cg::ImageDescription const& imageDesc);
109
110 MCAPI void* $ctor(::gsl::not_null<::cg::TextureSetDefinition const*> textureSet);
111#endif
112 // NOLINTEND
113
114public:
115 // destructor thunk
116 // NOLINTBEGIN
117#ifdef LL_PLAT_C
118 MCFOLD void $dtor();
119#endif
120 // NOLINTEND
121};
122
123} // namespace cg
Definition TextureSetDefinition.h:20
Definition TextureSetImageDescription.h:26
Definition TextureSetImageDescription.h:18
Definition ImageDescription.h:20