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, 312, ::MinecraftGameplayGraphicsResources> mMinecraftGameplayGraphicsResources;
33 // NOLINTEND
34
35public:
36 // prevent constructor by default
37 MinecraftGraphics();
38
39public:
40 // virtual functions
41 // NOLINTBEGIN
42 virtual ~MinecraftGraphics() /*override*/ = default;
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 MCAPI ::Bedrock::NonOwnerPointer<::mce::framebuilder::PBRTextureDataManager> getPBRTextureDataManager() const;
57 // NOLINTEND
58
59public:
60 // constructor thunks
61 // NOLINTBEGIN
62 MCAPI void* $ctor(::mce::RenderContext& renderContext);
63 // NOLINTEND
64
65public:
66 // virtual function thunks
67 // NOLINTBEGIN
68 MCFOLD void $onAppSuspended();
69
70 MCFOLD void $onAppTerminated();
71 // NOLINTEND
72};
Definition AppPlatformListener.h:15
Definition EnableNonOwnerReferences.h:7
Definition FrameUpdateContext.h:5
Definition MinecraftGraphics.h:5
Definition ImageResourceLoader.h:19
Definition ImmediateBuffer.h:7
Definition QuadIndexBuffer.h:7
Definition RenderContext.h:7
Definition ShaderGroup.h:7
Definition PBRTextureDataManager.h:7