3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/gui/screens/BaseScreen.h"
7#include "mc/deps/core/timing/Stopwatch.h"
8#include "mc/deps/core/utility/NonOwnerPointer.h"
9#include "mc/deps/minecraft_renderer/renderer/MaterialPtr.h"
25 ::ll::TypedStorage<8, 16, ::mce::MaterialPtr> mCubeMaterial;
26 ::ll::TypedStorage<1, 1, bool> mFlushable;
27 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::IClientInstance>> mClient;
28 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::CubemapBackgroundResources>> mCubemapResources;
29 ::ll::TypedStorage<8, 56, ::Stopwatch> mFadeTimer;
30 ::ll::TypedStorage<4, 4, float> mAccumulatedTime;
31 ::ll::TypedStorage<1, 1, bool> mIsFading;
36 CubemapBackgroundScreen();
41 virtual ~CubemapBackgroundScreen() ;
43 virtual void init(::ScreenSizeData
const& screenSizeData) ;
45 virtual void terminate() ;
47 virtual void render(::ScreenContext& screenContext, ::FrameRenderObject
const& renderObj) ;
49 virtual bool screenIsNotFlushable() const ;
51 virtual
bool renderOnlyWhenTopMost() const ;
53 virtual
bool lowFreqRendering() const ;
55 virtual
bool renderGameBehind() const ;
57 virtual
bool isShowingMenu() const ;
59 virtual ::std::
string getScreenName() const ;
61 virtual
bool equalsScreenName(::std::string_view comparison) const ;
63 virtual
bool containsScreenNameSubstring(::std::string_view substring) const ;
65 virtual
bool getShouldSendEvents() ;
67 virtual ::RectangleArea getAreaOfControlByName(::std::
string const&) const ;
73 MCAPI CubemapBackgroundScreen(
74 ::Bedrock::NotNullNonOwnerPtr<::IClientInstance> const& client,
75 ::Bedrock::NotNullNonOwnerPtr<::CubemapBackgroundResources> const& cubemapResources,
79 MCAPI
void renderCubemap(::ScreenContext& screenContext,
bool hdrCubemap);
86 ::Bedrock::NotNullNonOwnerPtr<::IClientInstance> const& client,
87 ::Bedrock::NotNullNonOwnerPtr<::CubemapBackgroundResources> const& cubemapResources,
101 MCAPI
void $init(::ScreenSizeData const& screenSizeData);
103 MCAPI
void $terminate();
105 MCAPI
void $render(::ScreenContext& screenContext, ::FrameRenderObject const& renderObj);
107 MCFOLD
bool $screenIsNotFlushable() const;
109 MCAPI
bool $renderOnlyWhenTopMost() const;
111 MCFOLD
bool $lowFreqRendering() const;
113 MCFOLD
bool $renderGameBehind() const;
115 MCFOLD
bool $isShowingMenu() const;
117 MCAPI ::std::
string $getScreenName() const;
119 MCAPI
bool $equalsScreenName(::std::string_view comparison) const;
121 MCAPI
bool $containsScreenNameSubstring(::std::string_view substring) const;
123 MCFOLD
bool $getShouldSendEvents();
125 MCFOLD ::RectangleArea $getAreaOfControlByName(::std::
string const&) const;
Definition BaseScreen.h:5
Definition CubemapBackgroundResources.h:5
Definition CubemapBackgroundScreen.h:5
static MCAPI void ** $vftable()
Definition IClientInstance.h:5
Definition RectangleArea.h:5
Definition ScreenContext.h:5
Definition FrameRenderObject.h:5
Definition ScreenSizeData.h:5