LeviLamina
Loading...
Searching...
No Matches
RayTracingOptions.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/NonOwnerPointer.h"
7#include "mc/external/render_dragon/rendering/LightingModels.h"
8#include "mc/options/GraphicsMode.h"
9#include "mc/options/IAdvancedGraphicsOptions.h"
10#include "mc/resources/ResourcePackListener.h"
11
12// auto generated forward declare list
13// clang-format off
15class PackCapability;
17// clang-format on
18
19class RayTracingOptions : public ::ResourcePackListener, public ::IAdvancedGraphicsOptions {
20public:
21 // member variables
22 // NOLINTBEGIN
30#ifdef LL_PLAT_C
34#endif
37 // NOLINTEND
38
39public:
40 // prevent constructor by default
41 RayTracingOptions& operator=(RayTracingOptions const&);
42 RayTracingOptions(RayTracingOptions const&);
43 RayTracingOptions();
44
45public:
46 // virtual functions
47 // NOLINTBEGIN
48#ifdef LL_PLAT_S
49 virtual ~RayTracingOptions() /*override*/ = default;
50#else // LL_PLAT_C
51 virtual ~RayTracingOptions() /*override*/;
52#endif
53
54 virtual void unregisterResourcePackListener() /*override*/;
55
56 virtual void onActiveResourcePacksChanged(::ResourcePackManager& resourcePackManager) /*override*/;
57
58 virtual bool isHardwareRayTracingCompatible() const /*override*/;
59
60 virtual bool isHardwareDeferredCompatible() const /*override*/;
61
62 virtual bool areRayTracingResourcesAvailable() const /*override*/;
63
64 virtual bool isDeferredLightingModelAvailable() const /*override*/;
65
66 virtual bool isPlatformCompatible() const /*override*/;
67
68 virtual bool isPlatformDeferredPerformanceCompatible() const /*override*/;
69
70 virtual bool isRayTracingAvailable() const /*override*/;
71
72 virtual bool areDeferredShadingAndResourcesAvailable() const /*override*/;
73
74 virtual bool isVibrantVisualsAllowed() const /*override*/;
75
76 virtual void setForceDisableVibrantVisuals(bool value) /*override*/;
77
78 virtual bool canSwitchGraphicsModeInGame() const /*override*/;
79
80 virtual bool requiresPBRResources() const /*override*/;
81
82 virtual bool isUpscalingAvailable() const /*override*/;
83
84 virtual ::dragon::rendering::LightingModels getLightingModel() const /*override*/;
85
86 virtual void setLightingModel(::dragon::rendering::LightingModels const model) /*override*/;
87
88#ifdef LL_PLAT_S
89 virtual void setCanSwitchGraphicsModeInGame(bool canRuntimeSwitch) /*override*/;
90#else // LL_PLAT_C
91 virtual void setCanSwitchGraphicsModeInGame(bool canRuntimeSwitch) /*override*/;
92
93 virtual ::GraphicsMode getDefaultGraphicsMode() const /*override*/;
94
95 virtual ::dragon::rendering::LightingModels toggleLightingModel() /*override*/;
96
97 virtual ::GraphicsMode getPrevVanillaGraphicsMode() const /*override*/;
98
99 virtual void setGraphicsMode(::GraphicsMode const graphicsMode) /*override*/;
100
101 virtual bool isPrevAdvancedGraphicsMode() const /*override*/;
102#endif
103
104 // NOLINTEND
105
106public:
107 // member functions
108 // NOLINTBEGIN
109
110 // NOLINTEND
111
112public:
113 // static functions
114 // NOLINTBEGIN
115 MCNAPI static ::PackCapability
117
118 MCNAPI static ::PackCapability
120 // NOLINTEND
121
122public:
123 // static variables
124 // NOLINTBEGIN
125 MCNAPI static ::std::string_view const& PBR_TAG();
126
127 MCNAPI static ::std::string_view const& RAY_TRACING_TAG();
128 // NOLINTEND
129
130public:
131 // constructor thunks
132 // NOLINTBEGIN
133 MCNAPI_C void* $ctor(
134 ::Bedrock::NotNullNonOwnerPtr<::IAdvancedGraphicsHardwareOptions> advancedGraphicsHardwareOptions,
135 ::Bedrock::NotNullNonOwnerPtr<::ResourcePackManager> resourcePackManager
136 );
137 // NOLINTEND
138
139public:
140 // destructor thunk
141 // NOLINTBEGIN
142 MCNAPI void $dtor();
143 // NOLINTEND
144
145public:
146 // virtual function thunks
147 // NOLINTBEGIN
148#ifdef LL_PLAT_C
149 MCNAPI void $unregisterResourcePackListener();
150
151 MCNAPI void $onActiveResourcePacksChanged(::ResourcePackManager& resourcePackManager);
152
153 MCNAPI bool $isHardwareRayTracingCompatible() const;
154
155 MCNAPI bool $isHardwareDeferredCompatible() const;
156
157 MCNAPI bool $areRayTracingResourcesAvailable() const;
158
159 MCNAPI bool $isDeferredLightingModelAvailable() const;
160
161 MCNAPI bool $isPlatformCompatible() const;
162
163 MCNAPI bool $isPlatformDeferredPerformanceCompatible() const;
164
165 MCNAPI bool $isRayTracingAvailable() const;
166
167 MCNAPI bool $areDeferredShadingAndResourcesAvailable() const;
168
169 MCNAPI bool $isVibrantVisualsAllowed() const;
170
171 MCNAPI void $setForceDisableVibrantVisuals(bool value);
172
173 MCNAPI bool $canSwitchGraphicsModeInGame() const;
174
175 MCNAPI bool $requiresPBRResources() const;
176
177 MCNAPI bool $isUpscalingAvailable() const;
178
179 MCNAPI ::dragon::rendering::LightingModels $getLightingModel() const;
180
181 MCNAPI void $setLightingModel(::dragon::rendering::LightingModels const model);
182
183 MCNAPI void $setCanSwitchGraphicsModeInGame(bool canRuntimeSwitch);
184
185 MCNAPI ::GraphicsMode $getDefaultGraphicsMode() const;
186
187 MCNAPI ::dragon::rendering::LightingModels $toggleLightingModel();
188
189 MCNAPI ::GraphicsMode $getPrevVanillaGraphicsMode() const;
190
191 MCNAPI void $setGraphicsMode(::GraphicsMode const graphicsMode);
192
193 MCNAPI bool $isPrevAdvancedGraphicsMode() const;
194#endif
195
196
197 // NOLINTEND
198
199public:
200 // vftables
201 // NOLINTBEGIN
203
204 MCNAPI static void** $vftableForResourcePackListener();
205 // NOLINTEND
206};
Definition NonOwnerPointer.h:9
Definition IAdvancedGraphicsHardwareOptions.h:8
Definition IAdvancedGraphicsOptions.h:10
Definition PackCapability.h:5
static MCAPI ::std::string_view const & RAY_TRACING_TAG()
MCAPI void $dtor()
static MCAPI ::PackCapability getPackCapability(::Bedrock::NonOwnerPointer<::IAdvancedGraphicsOptions > advancedGraphicsOptions)
static MCAPI ::std::string_view const & PBR_TAG()
static MCAPI void ** $vftableForResourcePackListener()
static MCAPI ::PackCapability getPackDeferredCapability(::Bedrock::NonOwnerPointer<::IAdvancedGraphicsOptions > advancedGraphicsOptions)
static MCAPI void ** $vftableForIAdvancedGraphicsOptions()
Definition ResourcePackListener.h:10
Definition ResourcePackManager.h:29
Definition Alias.h:14