LeviLamina
Loading...
Searching...
No Matches
TextureSetLayerDefinition.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/resource/ResourceLocationPair.h"
9#include "mc/deps/core/utility/EnableNonOwnerReferences.h"
10#include "mc/deps/core_graphics/TextureSetLayerType.h"
11
12namespace cg {
13
14class TextureSetLayerDefinition : public ::Bedrock::EnableNonOwnerReferences {
15public:
16 // TextureSetLayerDefinition inner types define
17 using TextureSetLayerInfoVariant = ::std::variant<::ResourceLocationPair, ::ColorChannel, ::mce::Color>;
18
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 120, ::std::variant<::ResourceLocationPair, ::ColorChannel, ::mce::Color>> mData;
23 ::ll::TypedStorage<1, 1, ::cg::TextureSetLayerType> mLayerType;
24 // NOLINTEND
25
26#ifdef LL_PLAT_S
27#else // LL_PLAT_C
28public:
29 // prevent constructor by default
30 TextureSetLayerDefinition();
31
32#endif
33public:
34 // member functions
35 // NOLINTBEGIN
36#ifdef LL_PLAT_C
37 MCAPI TextureSetLayerDefinition(
38 ::cg::TextureSetLayerType const& type,
39 ::std::variant<::ResourceLocationPair, ::ColorChannel, ::mce::Color> const& var
40 );
41
42 MCAPI void _setValue(::std::variant<::ResourceLocationPair, ::ColorChannel, ::mce::Color> const& var);
43
44 MCFOLD ::cg::TextureSetLayerType const& getLayerType() const;
45
46 MCAPI ::std::optional<::std::string> hasValidationError() const;
47
48 MCAPI bool isColor() const;
49
50 MCAPI bool isColorChannel() const;
51
52 MCAPI bool isResourceLocation() const;
53
54 MCAPI bool isUniform() const;
55#endif
56 // NOLINTEND
57
58public:
59 // constructor thunks
60 // NOLINTBEGIN
61#ifdef LL_PLAT_C
62 MCAPI void* $ctor(
63 ::cg::TextureSetLayerType const& type,
64 ::std::variant<::ResourceLocationPair, ::ColorChannel, ::mce::Color> const& var
65 );
66#endif
67 // NOLINTEND
68
69public:
70 // vftables
71 // NOLINTBEGIN
72 MCNAPI static void** $vftable();
73 // NOLINTEND
74};
75
76} // namespace cg
Definition EnableNonOwnerReferences.h:7
static MCAPI void ** $vftable()