Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ScreenContext.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/screens/UIScreenContext.h"
7#include "mc/deps/core/memory/LinearAllocator.h"
8#include "mc/deps/core/utility/NonOwnerPointer.h"
9#include "mc/deps/minecraft_renderer/renderer/MeshContext.h"
10
11// auto generated forward declare list
12// clang-format off
14class GuiData;
17class Tessellator;
19namespace mce { class Clock; }
20namespace mce { class FrameBufferObject; }
21namespace mce { struct FrameDiscardContext; }
22namespace mce { struct ViewportInfo; }
23namespace mce::framebuilder { class FrameBuilder; }
24// clang-format on
25
27public:
28 // member variables
29 // NOLINTBEGIN
30 ::ll::TypedStorage<8, 8, ::mce::FrameBufferObject*> frameBufferObject;
31 ::ll::TypedStorage<8, 8, ::mce::ViewportInfo const&> viewport;
32 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::GuiData>> guiData;
33 ::ll::TypedStorage<8, 8, ::mce::Clock const&> clock;
34 ::ll::TypedStorage<8, 8, ::Tessellator&> tessellator;
35 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::MinecraftGraphics>> minecraftGraphics;
36 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::ProfanityContext>> profanityContext;
37 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::mce::FrameDiscardContext>> frameDiscardContext;
38 ::ll::TypedStorage<1, 1, bool> isCapturingPanorama;
39 ::ll::TypedStorage<8, 8, ::CommandListQueue&> commandListQueue;
40 ::ll::TypedStorage<8, 8, ::LinearAllocator<::FrameRenderObject>&> frameAllocator;
41 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::mce::framebuilder::FrameBuilder> const> frameBuilder;
42 ::ll::TypedStorage<4, 16, ::std::array<float, 4>> mFrameAlphas;
43 // NOLINTEND
44
45public:
46 // prevent constructor by default
47 ScreenContext& operator=(ScreenContext const&);
48 ScreenContext(ScreenContext const&);
49 ScreenContext();
50
51public:
52 // member functions
53 // NOLINTBEGIN
54 MCNAPI ScreenContext(::ScreenContext&&);
55
56 MCAPI ScreenContext(
57 ::mce::ViewportInfo const& _vpInfo,
58 ::Bedrock::NotNullNonOwnerPtr<::GuiData> _guiData,
59 ::mce::Clock const& _clock,
60 ::Tessellator& _tessellator,
61 ::Bedrock::NotNullNonOwnerPtr<::MinecraftGraphics> const& _minecraftGraphics,
62 ::Bedrock::NotNullNonOwnerPtr<::ProfanityContext> const& _profanityContext,
63 ::CommandListQueue& _commandListQueue,
65 ::mce::MeshContext& meshContext,
66 int xm,
67 int ym,
68 float a
69 );
70
71 MCAPI ~ScreenContext();
72 // NOLINTEND
73
74public:
75 // constructor thunks
76 // NOLINTBEGIN
77 MCNAPI void* $ctor(::ScreenContext&&);
78
79 MCAPI void* $ctor(
80 ::mce::ViewportInfo const& _vpInfo,
81 ::Bedrock::NotNullNonOwnerPtr<::GuiData> _guiData,
82 ::mce::Clock const& _clock,
83 ::Tessellator& _tessellator,
84 ::Bedrock::NotNullNonOwnerPtr<::MinecraftGraphics> const& _minecraftGraphics,
85 ::Bedrock::NotNullNonOwnerPtr<::ProfanityContext> const& _profanityContext,
86 ::CommandListQueue& _commandListQueue,
88 ::mce::MeshContext& meshContext,
89 int xm,
90 int ym,
91 float a
92 );
93 // NOLINTEND
94
95public:
96 // destructor thunk
97 // NOLINTBEGIN
98 MCAPI void $dtor();
99 // NOLINTEND
100};
Definition CommandListQueue.h:5
Definition GuiData.h:5
Definition LinearAllocator.h:7
Definition MinecraftGraphics.h:5
Definition ProfanityContext.h:5
Definition ScreenContext.h:5
MCAPI ScreenContext(::ScreenContext &&)
MCAPI void * $ctor(::ScreenContext &&)
Definition Tessellator.h:5
Definition UIScreenContext.h:5
Definition Clock.h:7
Definition FrameBufferObject.h:7
Definition MeshContext.h:7
Definition FrameBuilder.h:7
Definition FrameRenderObject.h:5
Definition FrameDiscardContext.h:7
Definition ViewportInfo.h:7