LeviLamina
Loading...
Searching...
No Matches
BlockOccluder.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class AABB;
8class Block;
9class BlockPos;
11// clang-format on
12
13class BlockOccluder {
14public:
15 // member variables
16 // NOLINTBEGIN
17 ::ll::TypedStorage<4, 4, ::std::bitset<6>> mFacingOccluded;
18 ::ll::TypedStorage<8, 8, ::BlockTessellatorCache&> mBlockCache;
19 // NOLINTEND
20
21public:
22 // prevent constructor by default
23 BlockOccluder& operator=(BlockOccluder const&);
24 BlockOccluder(BlockOccluder const&);
25 BlockOccluder();
26
27public:
28 // member functions
29 // NOLINTBEGIN
30 MCAPI bool
31 _shouldRenderFace(::BlockPos const& neighborPos, uchar face, ::AABB const& shape, ::BlockPos const& pos) const;
32
33 MCAPI void _updateRenderFace(::Block const& block, ::BlockPos const& p, ::AABB const& shape, uchar face);
34 // NOLINTEND
35};
Definition AABB.h:18
Definition BlockOccluder.h:5
Definition BlockPos.h:17
Definition BlockTessellatorCache.h:5
Definition Block.h:42