LeviLamina
Loading...
Searching...
No Matches
ConduitRenderer.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/renderer/blockactor/BlockActorRenderer.h"
7#include "mc/deps/application/AppPlatformListener.h"
8#include "mc/deps/minecraft_renderer/renderer/MaterialPtr.h"
9#include "mc/deps/minecraft_renderer/renderer/Mesh.h"
10#include "mc/deps/minecraft_renderer/renderer/TexturePtr.h"
11
12// auto generated forward declare list
13// clang-format off
15class BlockActor;
20namespace dragon { struct RenderMetadata; }
21namespace mce { class TextureGroup; }
22// clang-format on
23
25public:
26 // member variables
27 // NOLINTBEGIN
28 ::ll::TypedStorage<8, 16, ::mce::MaterialPtr> mGuiMaterial;
29 ::ll::TypedStorage<8, 32, ::mce::TexturePtr const> mBaseTexture;
30 ::ll::TypedStorage<8, 32, ::mce::TexturePtr const> mShellTexture;
31 ::ll::TypedStorage<8, 32, ::mce::TexturePtr const> mWindTexture;
32 ::ll::TypedStorage<8, 32, ::mce::TexturePtr const> mWindTextureVertical;
33 ::ll::TypedStorage<8, 32, ::mce::TexturePtr const> mCoreTexture;
34 ::ll::TypedStorage<8, 32, ::mce::TexturePtr const> mActiveCoreTexture;
35 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::ConduitBaseModel>> mModel;
36 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ConduitCageModel>> mCage;
37 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ConduitWindModel>> mOuterWind;
38 ::ll::TypedStorage<8, 552, ::mce::Mesh> mHeartMesh;
39 // NOLINTEND
40
41public:
42 // prevent constructor by default
43 ConduitRenderer();
44
45public:
46 // virtual functions
47 // NOLINTBEGIN
48 virtual ~ConduitRenderer() /*override*/;
49
50 virtual void onAppSuspended() /*override*/;
51
52 virtual void
53 render(::BaseActorRenderContext& renderContext, ::BlockActorRenderData& blockEntityRenderData) /*override*/;
54 // NOLINTEND
55
56public:
57 // member functions
58 // NOLINTBEGIN
59 MCAPI explicit ConduitRenderer(::std::shared_ptr<::mce::TextureGroup> textureGroup);
60
61 MCAPI void renderInGui(
62 ::BaseActorRenderContext& renderContext,
63 ::dragon::RenderMetadata const& renderMetadata,
64 ::BlockActor& entity,
65 float x,
66 float y,
67 float scale,
68 float lightMultiplier
69 );
70
71 MCAPI void renderInHand(::BaseActorRenderContext& renderContext, ::BlockActorRenderData& blockEntityRenderData);
72 // NOLINTEND
73
74public:
75 // constructor thunks
76 // NOLINTBEGIN
77 MCAPI void* $ctor(::std::shared_ptr<::mce::TextureGroup> textureGroup);
78 // NOLINTEND
79
80public:
81 // destructor thunk
82 // NOLINTBEGIN
83 MCAPI void $dtor();
84 // NOLINTEND
85
86public:
87 // virtual function thunks
88 // NOLINTBEGIN
89 MCAPI void $onAppSuspended();
90
91 MCAPI void $render(::BaseActorRenderContext& renderContext, ::BlockActorRenderData& blockEntityRenderData);
92 // NOLINTEND
93
94public:
95 // vftables
96 // NOLINTBEGIN
97 MCNAPI static void** $vftableForAppPlatformListener();
98
99 MCNAPI static void** $vftableForBlockActorRenderer();
100 // NOLINTEND
101};
Definition AppPlatformListener.h:15
Definition BaseActorRenderContext.h:5
Definition BlockActorRenderer.h:5
Definition BlockActor.h:30
Definition ConduitBaseModel.h:5
Definition ConduitCageModel.h:5
Definition ConduitRenderer.h:5
static MCAPI void ** $vftableForAppPlatformListener()
static MCAPI void ** $vftableForBlockActorRenderer()
Definition ConduitWindModel.h:5
Definition TextureGroup.h:7
Definition BlockActorRenderData.h:5
Definition RenderMetadata.h:7