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 // NOLINTEND
50
51public:
52 // member functions
53 // NOLINTBEGIN
54 MCAPI explicit ChestRenderer(::std::shared_ptr<::mce::TextureGroup> textureGroup);
55
56 MCAPI ::glm::vec3 getBlockLightColor(
57 ::ChestBlockActor const& actor,
58 ::Block const& block,
59 ::BlockSource& renderSource,
60 ::std::weak_ptr<::LightPropagation::LightVolumeManager> const& lightVolumeManager,
61 ::BlockPos const& pos
62 );
63
64 MCAPI ::BrightnessPair getBrightness(
65 ::ChestBlockActor const& actor,
66 ::Block const& block,
67 ::BlockSource& renderSource,
68 ::BlockPos const& pos
69 );
70 // NOLINTEND
71
72public:
73 // constructor thunks
74 // NOLINTBEGIN
75 MCAPI void* $ctor(::std::shared_ptr<::mce::TextureGroup> textureGroup);
76 // NOLINTEND
77
78public:
79 // virtual function thunks
80 // NOLINTBEGIN
81 MCAPI void $render(::BaseActorRenderContext& renderContext, ::BlockActorRenderData& blockEntityRenderData);
82 // NOLINTEND
83
84public:
85 // vftables
86 // NOLINTBEGIN
87 MCNAPI static void** $vftable();
88 // NOLINTEND
89};
Definition BaseActorRenderContext.h:5
Definition BlockActorRenderer.h:5
Definition BlockPos.h:21
Definition BlockSource.h:73
Definition Block.h:69
Definition ChestBlockActor.h:31
Definition ChestRenderer.h:5
static MCAPI void ** $vftable()
Definition LightVolumeManager.h:7
Definition TextureGroup.h:7
Definition BlockActorRenderData.h:5
Definition BrightnessPair.h:8