LeviLamina
Loading...
Searching...
No Matches
ChestRenderer.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/model/models/ChestModel.h"
7#include "mc/client/renderer/actor/ActorTextureInfo.h"
8#include "mc/client/renderer/blockactor/BlockActorRenderer.h"
9#include "mc/deps/core/container/DenseEnumMap.h"
10#include "mc/world/level/block/CopperType.h"
11
12// auto generated forward declare list
13// clang-format off
15class Block;
16class BlockPos;
17class BlockSource;
18class ChestBlockActor;
20struct BrightnessPair;
21namespace LightPropagation { class LightVolumeManager; }
22namespace mce { class TextureGroup; }
23// clang-format on
24
26public:
27 // member variables
28 // NOLINTBEGIN
29 ::ll::TypedStorage<8, 320, ::ActorTextureInfo> largeTex;
30 ::ll::TypedStorage<8, 320, ::ActorTextureInfo> normalTex;
31 ::ll::TypedStorage<8, 320, ::ActorTextureInfo> trappedLargeTex;
32 ::ll::TypedStorage<8, 320, ::ActorTextureInfo> trappedTex;
33 ::ll::TypedStorage<8, 320, ::ActorTextureInfo> enderTex;
34 ::ll::TypedStorage<8, 1280, ::Bedrock::DenseEnumMap<::CopperType, ::ActorTextureInfo, 4>> mCopperTextures;
35 ::ll::TypedStorage<8, 1280, ::Bedrock::DenseEnumMap<::CopperType, ::ActorTextureInfo, 4>> mLargeCopperTextures;
36 ::ll::TypedStorage<8, 2072, ::ChestModel> mChestModel;
37 ::ll::TypedStorage<8, 2072, ::ChestModel> mLargeChestModel;
38 // NOLINTEND
39
40public:
41 // prevent constructor by default
42 ChestRenderer();
43
44public:
45 // virtual functions
46 // NOLINTBEGIN
47 virtual void
48 render(::BaseActorRenderContext& renderContext, ::BlockActorRenderData& blockEntityRenderData) /*override*/;
49
50 virtual ~ChestRenderer() /*override*/;
51 // NOLINTEND
52
53public:
54 // member functions
55 // NOLINTBEGIN
56 MCAPI explicit ChestRenderer(::std::shared_ptr<::mce::TextureGroup> textureGroup);
57
58 MCAPI ::glm::vec3 getBlockLightColor(
59 ::ChestBlockActor const& actor,
60 ::Block const& block,
61 ::BlockSource& renderSource,
62 ::std::weak_ptr<::LightPropagation::LightVolumeManager> const& lightVolumeManager,
63 ::BlockPos const& pos
64 );
65
66 MCAPI ::BrightnessPair getBrightness(
67 ::ChestBlockActor const& actor,
68 ::Block const& block,
69 ::BlockSource& renderSource,
70 ::BlockPos const& pos
71 );
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 $render(::BaseActorRenderContext& renderContext, ::BlockActorRenderData& blockEntityRenderData);
90 // NOLINTEND
91
92public:
93 // vftables
94 // NOLINTBEGIN
95 MCNAPI static void** $vftable();
96 // NOLINTEND
97};
Definition BaseActorRenderContext.h:5
Definition BlockActorRenderer.h:5
Definition BlockPos.h:19
Definition BlockSource.h:71
Definition Block.h:43
Definition ChestBlockActor.h:32
Definition ChestRenderer.h:5
static MCAPI void ** $vftable()
Definition LightVolumeManager.h:7
Definition TextureGroup.h:7
Definition BlockActorRenderData.h:5
Definition BrightnessPair.h:8