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
14namespace mce { class ImageResourceLoader; }
15namespace mce { class RenderContext; }
16namespace mce { struct ImmediateBuffer; }
17namespace mce { struct QuadIndexBuffer; }
18namespace mce { struct ShaderGroup; }
19namespace mce::framebuilder { struct PBRTextureDataManager; }
20// clang-format on
21
23public:
24 // member variables
25 // NOLINTBEGIN
26 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::mce::ShaderGroup>> mShaderGroup;
27 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::mce::QuadIndexBuffer>> mQuadBuffer;
28 ::ll::TypedStorage<8, 24, ::mce::ClientResourcePointer<::mce::ImmediateBuffer>> mImmediateBuffer;
29 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::mce::framebuilder::PBRTextureDataManager>> mPBRTextureDataManager;
30 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::mce::ImageResourceLoader>> mImageResourceLoader;
31 ::ll::TypedStorage<8, 328, ::MinecraftGameplayGraphicsResources> mMinecraftGameplayGraphicsResources;
32 // NOLINTEND
33
34public:
35 // prevent constructor by default
36 MinecraftGraphics();
37
38public:
39 // virtual functions
40 // NOLINTBEGIN
41 virtual ~MinecraftGraphics() /*override*/;
42
43 virtual void onAppSuspended() /*override*/;
44
45 virtual void onAppTerminated() /*override*/;
46 // NOLINTEND
47
48public:
49 // member functions
50 // NOLINTBEGIN
51 MCAPI explicit MinecraftGraphics(::mce::RenderContext& renderContext);
52
53 MCAPI ::std::shared_ptr<::mce::ImageResourceLoader> getImageResourceLoader() const;
54
55 MCAPI ::Bedrock::NonOwnerPointer<::mce::framebuilder::PBRTextureDataManager> getPBRTextureDataManager() const;
56 // NOLINTEND
57
58public:
59 // constructor thunks
60 // NOLINTBEGIN
61 MCAPI void* $ctor(::mce::RenderContext& renderContext);
62 // NOLINTEND
63
64public:
65 // destructor thunk
66 // NOLINTBEGIN
67 MCAPI void $dtor();
68 // NOLINTEND
69
70public:
71 // virtual function thunks
72 // NOLINTBEGIN
73 MCFOLD void $onAppSuspended();
74
75 MCFOLD void $onAppTerminated();
76 // NOLINTEND
77
78public:
79 // vftables
80 // NOLINTBEGIN
82
83 MCNAPI static void** $vftableForAppPlatformListener();
84 // NOLINTEND
85};
Definition AppPlatformListener.h:15
Definition EnableNonOwnerReferences.h:7
Definition MinecraftGraphics.h:5
static MCAPI void ** $vftableForAppPlatformListener()
static MCAPI void ** $vftableForEnableNonOwnerReferences()
Definition ImageResourceLoader.h:18
Definition RenderContext.h:7
Definition ImmediateBuffer.h:7
Definition QuadIndexBuffer.h:7
Definition ShaderGroup.h:7
Definition PBRTextureDataManager.h:7