Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
RenderableComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/controls/UIComponent.h"
7#include "mc/client/gui/controls/UIMaterialType.h"
8
9// auto generated forward declare list
10// clang-format off
11class HashedString;
13// clang-format on
14
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<1, 1, bool> mSupportsLayoutOverride;
20 ::ll::TypedStorage<4, 8, ::glm::vec2> mMeasuredSize;
21 ::ll::TypedStorage<4, 4, float> mPropagatedAlpha;
22 // NOLINTEND
23
24public:
25 // virtual functions
26 // NOLINTBEGIN
27 virtual ~RenderableComponent() /*override*/ = default;
28
29 virtual void updateUI(::UIMeasureStrategy const& context);
30
31 virtual void reset() /*override*/;
32
33 virtual bool isRenderableComponent() const /*override*/;
34 // NOLINTEND
35
36public:
37 // member functions
38 // NOLINTBEGIN
39 MCNAPI void _updateLayoutSize();
40 // NOLINTEND
41
42public:
43 // static functions
44 // NOLINTBEGIN
45 MCNAPI static ::HashedString const& getUIMaterialName(::UIMaterialType type);
46 // NOLINTEND
47
48public:
49 // virtual function thunks
50 // NOLINTBEGIN
51 MCNAPI void $updateUI(::UIMeasureStrategy const& context);
52
53 MCNAPI bool $isRenderableComponent() const;
54 // NOLINTEND
55};
Definition HashedString.h:5
Definition RenderableComponent.h:5
static MCAPI ::HashedString const & getUIMaterialName(::UIMaterialType type)
MCAPI void $updateUI(::UIMeasureStrategy const &context)
MCAPI void _updateLayoutSize()
MCAPI bool $isRenderableComponent() const
Definition UIComponent.h:5
Definition UIMeasureStrategy.h:5
Definition context.h:5