LeviLamina
Loading...
Searching...
No Matches
MinecraftGraphics.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/renderer/MinecraftGameplayGraphicsResources.h"
7#include "mc/deps/application/AppPlatformListener.h"
8#include "mc/deps/core/checked_resource_service/ClientResourcePointer.h"
9#include "mc/deps/core/utility/EnableNonOwnerReferences.h"
10#include "mc/deps/core/utility/NonOwnerPointer.h"
11
12// auto generated forward declare list
13// clang-format off
15namespace mce { class ImageResourceLoader; }
16namespace mce { class ImmediateBuffer; }
17namespace mce { class QuadIndexBuffer; }
18namespace mce { class RenderContext; }
19namespace mce { class ShaderGroup; }
20namespace mce::framebuilder { class PBRTextureDataManager; }
21// clang-format on
22
24public:
25 // member variables
26 // NOLINTBEGIN
27 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::mce::ShaderGroup>> mShaderGroup;
28 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::mce::QuadIndexBuffer>> mQuadBuffer;
29 ::ll::TypedStorage<8, 24, ::mce::ClientResourcePointer<::mce::ImmediateBuffer>> mImmediateBuffer;
30 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::mce::framebuilder::PBRTextureDataManager>> mPBRTextureDataManager;
31 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::mce::ImageResourceLoader>> mImageResourceLoader;
32 ::ll::TypedStorage<8, 328, ::MinecraftGameplayGraphicsResources> mMinecraftGameplayGraphicsResources;
33 // NOLINTEND
34
35public:
36 // prevent constructor by default
37 MinecraftGraphics();
38
39public:
40 // virtual functions
41 // NOLINTBEGIN
42 virtual ~MinecraftGraphics() /*override*/;
43
44 virtual void onAppSuspended() /*override*/;
45
46 virtual void onAppTerminated() /*override*/;
47 // NOLINTEND
48
49public:
50 // member functions
51 // NOLINTBEGIN
52 MCAPI explicit MinecraftGraphics(::mce::RenderContext& renderContext);
53
54 MCAPI void frameUpdate(::FrameUpdateContext& frameUpdateContext);
55
56 MCFOLD ::mce::QuadIndexBuffer& getGlobalQuadBuffer();
57
58 MCFOLD ::std::shared_ptr<::mce::ImageResourceLoader> getImageResourceLoader() const;
59
60 MCFOLD ::mce::ClientResourcePointer<::mce::ImmediateBuffer>& getImmediateBuffer();
61
62 MCFOLD ::MinecraftGameplayGraphicsResources& getMinecraftGameplayGraphicsResources();
63
64 MCAPI ::Bedrock::NonOwnerPointer<::mce::framebuilder::PBRTextureDataManager> getPBRTextureDataManager() const;
65
66 MCFOLD void
67 setPBRTextureDataManager(::std::unique_ptr<::mce::framebuilder::PBRTextureDataManager> pbrTextureDataManager);
68 // NOLINTEND
69
70public:
71 // constructor thunks
72 // NOLINTBEGIN
73 MCAPI void* $ctor(::mce::RenderContext& renderContext);
74 // NOLINTEND
75
76public:
77 // destructor thunk
78 // NOLINTBEGIN
79 MCAPI void $dtor();
80 // NOLINTEND
81
82public:
83 // virtual function thunks
84 // NOLINTBEGIN
85 MCFOLD void $onAppSuspended();
86
87 MCFOLD void $onAppTerminated();
88 // NOLINTEND
89
90public:
91 // vftables
92 // NOLINTBEGIN
94
95 MCNAPI static void** $vftableForAppPlatformListener();
96 // NOLINTEND
97};
Definition AppPlatformListener.h:15
Definition EnableNonOwnerReferences.h:7
Definition FrameUpdateContext.h:5
Definition MinecraftGraphics.h:5
static MCAPI void ** $vftableForAppPlatformListener()
static MCAPI void ** $vftableForEnableNonOwnerReferences()
Definition ImageResourceLoader.h:18
Definition ImmediateBuffer.h:7
Definition QuadIndexBuffer.h:7
Definition RenderContext.h:7
Definition ShaderGroup.h:7
Definition PBRTextureDataManager.h:7