LeviLamina
Loading...
Searching...
No Matches
Graphics.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/options/GraphicsMode.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace Editor::Settings { struct GraphicsProps; }
11namespace cereal { struct ReflectionCtx; }
12// clang-format on
13
14namespace Editor::Settings {
15
16class Graphics {
17public:
18 // member variables
19 // NOLINTBEGIN
22 // NOLINTEND
23
24public:
25 // prevent constructor by default
26 Graphics& operator=(Graphics const&);
27 Graphics(Graphics const&);
28 Graphics();
29
30public:
31 // member functions
32 // NOLINTBEGIN
33 MCNAPI explicit Graphics(::std::function<void(::Editor::Settings::GraphicsProps const&)> callback);
34
35 MCNAPI bool getDisableBlockEntityRendering() const;
36
37 MCNAPI bool getDisableEntityRendering() const;
38
39 MCNAPI bool getDisableParticleRendering() const;
40
41 MCNAPI bool getDisableTerrainRendering() const;
42
43 MCNAPI bool getDisableWeatherRendering() const;
44
45 MCNAPI ::GraphicsMode getGraphicsMode() const;
46
47 MCNAPI bool getNightVision() const;
48
49#ifdef LL_PLAT_C
50 MCNAPI ::Editor::Settings::GraphicsProps const& getProperties() const;
51#endif
52
53 MCNAPI bool getShowChunkBoundaries() const;
54
55 MCNAPI bool getShowCompass() const;
56
57 MCNAPI bool getShowInvisibleBlocks() const;
58
59 MCNAPI bool getShowToastNotifications() const;
60
61 MCNAPI void setDisableBlockEntityRendering(bool disableBlockEntityRendering);
62
63 MCNAPI void setDisableEntityRendering(bool disableEntityRendering);
64
65 MCNAPI void setDisableParticleRendering(bool disableParticleRendering);
66
67 MCNAPI void setDisableTerrainRendering(bool disableTerrainRendering);
68
69 MCNAPI void setDisableWeatherRendering(bool disableWeatherRendering);
70
71 MCNAPI void setGraphicsMode(::GraphicsMode graphicsMode);
72
73 MCNAPI void setNightVision(bool nightVision);
74
75 MCNAPI void setShowChunkBoundaries(bool shouldShow);
76
77 MCNAPI void setShowCompass(bool shouldShow);
78
79 MCNAPI void setShowInvisibleBlocks(bool shouldShow);
80
81 MCNAPI void setShowToastNotifications(bool showNotifications);
82
83 MCNAPI void updateSettings(::Editor::Settings::GraphicsProps const& props, bool notifyUpdate);
84
85 MCNAPI ~Graphics();
86 // NOLINTEND
87
88public:
89 // static functions
90 // NOLINTBEGIN
91 MCNAPI static void bindType(::cereal::ReflectionCtx& ctx);
92 // NOLINTEND
93
94public:
95 // constructor thunks
96 // NOLINTBEGIN
97 MCNAPI void* $ctor(::std::function<void(::Editor::Settings::GraphicsProps const&)> callback);
98 // NOLINTEND
99
100public:
101 // destructor thunk
102 // NOLINTBEGIN
103 MCNAPI void $dtor();
104 // NOLINTEND
105};
106
107} // namespace Editor::Settings
MCAPI void setShowCompass(bool shouldShow)
MCAPI bool getDisableEntityRendering() const
MCAPI void * $ctor(::std::function< void(::Editor::Settings::GraphicsProps const &)> callback)
MCAPI bool getShowToastNotifications() const
MCAPI void setDisableEntityRendering(bool disableEntityRendering)
static MCAPI void bindType(::cereal::ReflectionCtx &ctx)
MCAPI bool getNightVision() const
MCAPI bool getShowChunkBoundaries() const
MCAPI bool getShowInvisibleBlocks() const
MCAPI void setDisableBlockEntityRendering(bool disableBlockEntityRendering)
MCAPI void setShowInvisibleBlocks(bool shouldShow)
MCAPI void setShowChunkBoundaries(bool shouldShow)
MCAPI bool getShowCompass() const
MCAPI Graphics(::std::function< void(::Editor::Settings::GraphicsProps const &)> callback)
MCAPI void setDisableWeatherRendering(bool disableWeatherRendering)
MCAPI void setNightVision(bool nightVision)
MCAPI void updateSettings(::Editor::Settings::GraphicsProps const &props, bool notifyUpdate)
MCAPI void setShowToastNotifications(bool showNotifications)
MCAPI::GraphicsMode getGraphicsMode() const
MCAPI bool getDisableWeatherRendering() const
MCAPI bool getDisableTerrainRendering() const
MCAPI bool getDisableBlockEntityRendering() const
MCAPI void setDisableTerrainRendering(bool disableTerrainRendering)
MCAPI void setDisableParticleRendering(bool disableParticleRendering)
MCAPI void setGraphicsMode(::GraphicsMode graphicsMode)
MCAPI bool getDisableParticleRendering() const
Definition GraphicsProps.h:7
Definition ReflectionCtx.h:11
Definition ctx.h:5
Definition Alias.h:14