LeviLamina
Loading...
Searching...
No Matches
GameRenderer.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/deps/core/utility/pub_sub/Connector.h"
8
9// auto generated forward declare list
10// clang-format off
11class Dimension;
12class IClientInstance;
13class Level;
14class LevelRenderer;
16class ScreenContext;
18struct PlayerRenderView;
19namespace mce { class Color; }
20namespace mce { class RenderContext; }
21// clang-format on
22
23class GameRenderer {
24public:
25 // GameRenderer inner types define
26 enum class FrameCaptureMode : int {
27 Screenshot = 0,
28 Panorama = 1,
29 };
30
31public:
32 // member variables
33 // NOLINTBEGIN
34 ::ll::UntypedStorage<8, 72> mUnkf77c73;
35 ::ll::UntypedStorage<8, 16> mUnk4bcc9d;
36 ::ll::UntypedStorage<8, 208> mUnkbb71a2;
37 ::ll::UntypedStorage<8, 8> mUnke80e6d;
38 ::ll::UntypedStorage<8, 24> mUnkbc4500;
39 ::ll::UntypedStorage<8, 24> mUnka330b1;
40 ::ll::UntypedStorage<8, 88> mUnk4cdac0;
41 ::ll::UntypedStorage<4, 24> mUnk579f17;
42 ::ll::UntypedStorage<8, 8> mUnk67a789;
43 ::ll::UntypedStorage<8, 8> mUnkb9a987;
44 ::ll::UntypedStorage<4, 4> mUnk4c0455;
45 ::ll::UntypedStorage<1, 1> mUnkdcd0c1;
46 ::ll::UntypedStorage<4, 4> mUnkf53110;
47 ::ll::UntypedStorage<2, 2> mUnka0758c;
48 ::ll::UntypedStorage<2, 2> mUnk69208b;
49 ::ll::UntypedStorage<1, 1> mUnk4ee18c;
50 ::ll::UntypedStorage<4, 8> mUnkddec90;
51 ::ll::UntypedStorage<8, 8> mUnk90f5fb;
52 ::ll::UntypedStorage<8, 8> mUnk37151f;
53 ::ll::UntypedStorage<8, 24> mUnk7c8d71;
54 ::ll::UntypedStorage<8, 8> mUnkb5cc8d;
55 ::ll::UntypedStorage<8, 8> mUnkcec6f6;
56 ::ll::UntypedStorage<8, 280> mUnk4e03ea;
57 ::ll::UntypedStorage<4, 64> mUnk958d63;
58 ::ll::UntypedStorage<4, 64> mUnk1c8c9f;
59 ::ll::UntypedStorage<4, 64> mUnkf507f2;
60 ::ll::UntypedStorage<4, 64> mUnka5c459;
61 ::ll::UntypedStorage<4, 64> mUnk112887;
62 ::ll::UntypedStorage<1, 1> mUnk39e531;
63 ::ll::UntypedStorage<8, 8> mUnk3ff461;
64 ::ll::UntypedStorage<1, 1> mUnk3eb6b9;
65 ::ll::UntypedStorage<8, 32> mUnke0631b;
66 ::ll::UntypedStorage<8, 32> mUnk34e304;
67 ::ll::UntypedStorage<8, 8> mUnk97a74c;
68 ::ll::UntypedStorage<8, 16> mUnka47328;
69 // NOLINTEND
70
71public:
72 // prevent constructor by default
73 GameRenderer& operator=(GameRenderer const&);
74 GameRenderer(GameRenderer const&);
75 GameRenderer();
76
77public:
78 // virtual functions
79 // NOLINTBEGIN
80 virtual ~GameRenderer();
81 // NOLINTEND
82
83public:
84 // member functions
85 // NOLINTBEGIN
86 MCNAPI GameRenderer(::Bedrock::NotNullNonOwnerPtr<::IClientInstance> const& ci, ::MinecraftGraphics& graphics);
87
88 MCNAPI void _checkAndDrawInputUI(::ScreenContext& screenContext);
89
90 MCNAPI ::std::unique_ptr<::FrameRenderObject, ::std::function<void(::FrameRenderObject*)>>
91 _extractFrame(::ScreenContext& screenContext, bool renderGraphContainsPlayScreen);
92
93 MCNAPI void _tickLightTexture(::Dimension& dimension, float a);
94
95 MCNAPI ::std::weak_ptr<::PlayerRenderView> addPlayerRenderView(::LevelRenderer& renderer);
96
97 MCNAPI void cleanupRenderGraph();
98
99 MCNAPI void createRenderGraph(::mce::RenderContext& renderContext, bool onResume);
100
101 MCNAPI void endFrame(::mce::RenderContext& renderContext);
102
103 MCNAPI ::ScreenContext makeScreenContext(float a);
104
105 MCNAPI void onSubClientRemoved(::IClientInstance const& client);
106
108
110
111 MCNAPI void renderCurrentFrame(float a);
112
113 MCNAPI void renderCursor(::ScreenContext& screenContext, float xMouse, float yMouse);
114
115 MCNAPI void renderDebugScreen(::ScreenContext& screenContext, ::IClientInstance& client);
116
117 MCNAPI void setClient(::IClientInstance& ci);
118
119 MCNAPI void setLevel(::Level* level, ::Dimension* dimension);
120 // NOLINTEND
121
122public:
123 // static variables
124 // NOLINTBEGIN
125 MCNAPI static ::mce::Color& mClearColor();
126
127 MCNAPI static bool& mSplitScreenActive();
128
129 MCNAPI static ::std::string& mVersionString();
130 // NOLINTEND
131
132public:
133 // constructor thunks
134 // NOLINTBEGIN
135 MCNAPI void* $ctor(::Bedrock::NotNullNonOwnerPtr<::IClientInstance> const& ci, ::MinecraftGraphics& graphics);
136 // NOLINTEND
137
138public:
139 // destructor thunk
140 // NOLINTBEGIN
141 MCNAPI void $dtor();
142 // NOLINTEND
143
144public:
145 // vftables
146 // NOLINTBEGIN
147 MCNAPI static void** $vftable();
148 // NOLINTEND
149};
Definition Connector.h:8
Definition Dimension.h:85
Definition GameRenderer.h:5
MCAPI void setClient(::IClientInstance &ci)
MCAPI ::std::weak_ptr<::PlayerRenderView > addPlayerRenderView(::LevelRenderer &renderer)
MCAPI void _tickLightTexture(::Dimension &dimension, float a)
MCAPI void renderCurrentFrame(float a)
static MCAPI ::std::string & mVersionString()
MCAPI void renderCursor(::ScreenContext &screenContext, float xMouse, float yMouse)
MCAPI GameRenderer(::Bedrock::NotNullNonOwnerPtr<::IClientInstance > const &ci, ::MinecraftGraphics &graphics)
static MCAPI void ** $vftable()
MCAPI void registerPauseManagerCallback(::Bedrock::PubSub::Connector< void(bool)> &connector)
MCAPI void renderDebugScreen(::ScreenContext &screenContext, ::IClientInstance &client)
MCAPI void endFrame(::mce::RenderContext &renderContext)
static MCAPI ::mce::Color & mClearColor()
MCAPI ::std::unique_ptr<::FrameRenderObject, ::std::function< void(::FrameRenderObject *)> > _extractFrame(::ScreenContext &screenContext, bool renderGraphContainsPlayScreen)
MCAPI void recreateTickingTextureStage()
MCAPI void setLevel(::Level *level, ::Dimension *dimension)
MCAPI void cleanupRenderGraph()
MCAPI void $dtor()
MCAPI void createRenderGraph(::mce::RenderContext &renderContext, bool onResume)
MCAPI void * $ctor(::Bedrock::NotNullNonOwnerPtr<::IClientInstance > const &ci, ::MinecraftGraphics &graphics)
MCAPI void onSubClientRemoved(::IClientInstance const &client)
static MCAPI bool & mSplitScreenActive()
MCAPI void _checkAndDrawInputUI(::ScreenContext &screenContext)
MCAPI::ScreenContext makeScreenContext(float a)
Definition IClientInstance.h:5
Definition LevelRenderer.h:5
Definition Level.h:249
Definition MinecraftGraphics.h:5
Definition ScreenContext.h:5
Definition Color.h:13
Definition RenderContext.h:7
Definition FrameRenderObject.h:5
Definition PlayerRenderView.h:5