LeviLamina
Loading...
Searching...
No Matches
BaseActorRenderContext.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/renderer/HistoricalFrameTimes.h"
7#include "mc/deps/core/math/Vec3.h"
8#include "mc/deps/core/utility/NonOwnerPointer.h"
9#include "mc/deps/minecraft_renderer/resources/UIActorOffscreenCaptureDescription.h"
10#include "mc/deps/minecraft_renderer/resources/UIMeshOffscreenCaptureDescription.h"
11#include "mc/deps/minecraft_renderer/resources/UIStructureVolumeOffscreenCaptureDescription.h"
12#include "mc/deps/minecraft_renderer/resources/UIThumbnailMeshOffscreenCaptureDescription.h"
13#include "mc/world/phys/AABB.h"
14
15// auto generated forward declare list
16// clang-format off
21class FontHandle;
22class HashedString;
24class IClientInstance;
25class IMinecraftGame;
27class ItemRenderer;
29class ScreenContext;
33namespace LightPropagation { class LightVolumeManager; }
34// clang-format on
35
37public:
38 // member variables
39 // NOLINTBEGIN
40 ::ll::TypedStorage<4, 4, float> mNumEntitiesRenderedThisFrame;
41 ::ll::TypedStorage<4, 4, float> mLastFrameTime;
42 ::ll::TypedStorage<8, 8, ::SortedMeshDrawList*> mSortedMeshDrawList;
43 ::ll::TypedStorage<8, 8, ::IClientInstance&> mClientInstance;
44 ::ll::TypedStorage<8, 8, ::IMinecraftGame&> mMinecraftGame;
45 ::ll::TypedStorage<8, 8, ::ScreenContext&> mScreenContext;
46 ::ll::TypedStorage<8, 8, ::BlockActorRenderDispatcher&> mBlockEntityRenderDispatcher;
47 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::ActorRenderDispatcher>> mEntityRenderDispatcher;
48 ::ll::TypedStorage<8, 8, ::ActorBlockRenderer&> mEntityBlockRenderer;
49 ::ll::TypedStorage<8, 8, ::ItemInHandRenderer&> mItemInHandRenderer;
50 ::ll::TypedStorage<8, 8, ::ItemRenderer&> mItemRenderer;
51 ::ll::TypedStorage<8, 8, ::HudIconActorRenderer&> mHudIconActorRenderer;
52 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::LightPropagation::LightVolumeManager>> mLightVolumeManager;
53 ::ll::TypedStorage<8, 8, ::ParticleSystemEngine*> mParticleSystemEngine;
54 ::ll::TypedStorage<8, 8, ::ProcessedDataDrivenRenderers const*> mProcessedV2DataDrivenRenderers;
55 ::ll::TypedStorage<8, 8, ::DataDrivenRendererContinuousData*> mV2DataDrivenContinuousData;
56 ::ll::TypedStorage<1, 1, bool> mV2ShouldRenderActorsWithAttachables;
57 ::ll::TypedStorage<8, 16, ::std::optional<int64>> mRenderUniqueIdOverride;
58 ::ll::TypedStorage<
59 8,
60 48,
61 ::std::variant<
62 ::std::monostate,
63 ::UIActorOffscreenCaptureDescription,
64 ::UIThumbnailMeshOffscreenCaptureDescription,
65 ::UIMeshOffscreenCaptureDescription,
66 ::UIStructureVolumeOffscreenCaptureDescription>>
67 mOffscreenCaptureDescription;
68 ::ll::TypedStorage<4, 12, ::Vec3> mCameraTargetPosition;
69 ::ll::TypedStorage<4, 12, ::Vec3> mCameraPosition;
70 ::ll::TypedStorage<4, 24, ::AABB> mWorldClipRegion;
71 ::ll::TypedStorage<4, 4, float const> mFrameAlpha;
72 ::ll::TypedStorage<4, 4, float> mActorDitheringMaxDistance;
73 ::ll::TypedStorage<1, 1, bool> mIsOnScreen;
74 ::ll::TypedStorage<1, 1, bool> mUpdateBonesAndEffects;
75 ::ll::TypedStorage<1, 1, bool> mUpdateEffects;
76 ::ll::TypedStorage<1, 1, bool> mIgnoresLighting;
77 ::ll::TypedStorage<1, 1, bool> mForceLightingOn;
78 ::ll::TypedStorage<1, 1, bool> mIsRenderingOnMap;
79 ::ll::TypedStorage<8, 488, ::HistoricalFrameTimes> mHistoricalFrameTimes;
80 // NOLINTEND
81
82public:
83 // prevent constructor by default
84 BaseActorRenderContext& operator=(BaseActorRenderContext const&);
85 BaseActorRenderContext();
86
87public:
88 // virtual functions
89 // NOLINTBEGIN
90 virtual ~BaseActorRenderContext();
91 // NOLINTEND
92
93public:
94 // member functions
95 // NOLINTBEGIN
96 MCAPI BaseActorRenderContext(::BaseActorRenderContext const&);
97
98 MCAPI BaseActorRenderContext(
99 ::ScreenContext& screenContext,
100 ::IClientInstance& clientInstance,
101 ::IMinecraftGame& minecraftGame
102 );
103
104 MCAPI ::std::shared_ptr<::DataDrivenRenderer> getDataDrivenRenderer(::HashedString const& rendererName) const;
105
106 MCAPI ::Bedrock::NotNullNonOwnerPtr<::FontHandle const> getFontHandle();
107
108 MCAPI bool isDeferredUpscaling() const;
109 // NOLINTEND
110
111public:
112 // constructor thunks
113 // NOLINTBEGIN
114 MCAPI void* $ctor(::BaseActorRenderContext const&);
115
116 MCAPI void*
117 $ctor(::ScreenContext& screenContext, ::IClientInstance& clientInstance, ::IMinecraftGame& minecraftGame);
118 // NOLINTEND
119
120public:
121 // destructor thunk
122 // NOLINTBEGIN
123 MCAPI void $dtor();
124 // NOLINTEND
125
126public:
127 // vftables
128 // NOLINTBEGIN
129 MCNAPI static void** $vftable();
130 // NOLINTEND
131};
Definition ActorBlockRenderer.h:5
Definition ActorRenderDispatcher.h:5
Definition BaseActorRenderContext.h:5
static MCAPI void ** $vftable()
Definition BlockActorRenderDispatcher.h:5
Definition DataDrivenRenderer.h:5
Definition FontHandle.h:5
Definition HashedString.h:5
Definition HudIconActorRenderer.h:5
Definition IClientInstance.h:5
Definition IMinecraftGame.h:5
Definition ItemInHandRenderer.h:5
Definition ItemRenderer.h:5
Definition LightVolumeManager.h:7
Definition ParticleSystemEngine.h:5
Definition ScreenContext.h:5
Definition SortedMeshDrawList.h:5
Definition DataDrivenRendererContinuousData.h:5
Definition ProcessedDataDrivenRenderers.h:5