LeviLamina
Loading...
Searching...
No Matches
IAdvancedGraphicsOptions.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/IAdvancedGraphicsHardwareOptions.h"
10
11// auto generated forward declare list
12// clang-format off
13class PackCapability;
14// clang-format on
15
17public:
18 // virtual functions
19 // NOLINTBEGIN
20 virtual void unregisterResourcePackListener() = 0;
21
22 virtual bool areRayTracingResourcesAvailable() const = 0;
23
24 virtual bool isDeferredLightingModelAvailable() const = 0;
25
26 virtual bool isRayTracingAvailable() const = 0;
27
28 virtual bool areDeferredShadingAndResourcesAvailable() const = 0;
29
30 virtual bool isVibrantVisualsAllowed() const = 0;
31
32 virtual void setForceDisableVibrantVisuals(bool value) = 0;
33
34 virtual bool isPlatformDeferredPerformanceCompatible() const = 0;
35
36 virtual bool canSwitchGraphicsModeInGame() const = 0;
37
38 virtual bool requiresPBRResources() const = 0;
39
40 virtual ::dragon::rendering::LightingModels getLightingModel() const = 0;
41
42 virtual void setLightingModel(::dragon::rendering::LightingModels const model) = 0;
43
44 virtual void setCanSwitchGraphicsModeInGame(bool canRuntimeSwitch) = 0;
45
46#ifdef LL_PLAT_S
47 virtual ~IAdvancedGraphicsOptions() /*override*/ = default;
48#else // LL_PLAT_C
49 virtual ::GraphicsMode getDefaultGraphicsMode() const = 0;
50
51 virtual ::dragon::rendering::LightingModels toggleLightingModel() = 0;
52
53 virtual ::GraphicsMode getPrevVanillaGraphicsMode() const = 0;
54
55 virtual void setGraphicsMode(::GraphicsMode const graphicsMode) = 0;
56
57 virtual bool isPrevAdvancedGraphicsMode() const = 0;
58
59 virtual ~IAdvancedGraphicsOptions() /*override*/;
60#endif
61
62 // NOLINTEND
63
64public:
65 // static functions
66 // NOLINTBEGIN
67 MCNAPI static ::PackCapability
69
70 MCNAPI static ::PackCapability
72 // NOLINTEND
73
74public:
75 // static variables
76 // NOLINTBEGIN
77 MCNAPI static ::std::string_view const& PBR_TAG();
78
79 MCNAPI static ::std::string_view const& RAY_TRACING_TAG();
80 // NOLINTEND
81
82public:
83 // destructor thunk
84 // NOLINTBEGIN
85 MCNAPI void $dtor();
86 // NOLINTEND
87
88public:
89 // virtual function thunks
90 // NOLINTBEGIN
91
92 // NOLINTEND
93};
Definition NonOwnerPointer.h:9
Definition IAdvancedGraphicsHardwareOptions.h:8
Definition IAdvancedGraphicsOptions.h:16
static MCAPI ::std::string_view const & PBR_TAG()
static MCAPI ::std::string_view const & RAY_TRACING_TAG()
static MCAPI ::PackCapability getPackCapability(::Bedrock::NonOwnerPointer<::IAdvancedGraphicsOptions > advancedGraphicsOptions)
static MCAPI ::PackCapability getPackDeferredCapability(::Bedrock::NonOwnerPointer<::IAdvancedGraphicsOptions > advancedGraphicsOptions)
Definition PackCapability.h:5