LeviLamina
Loading...
Searching...
No Matches
CacheDensityCalculator.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/Pos.h"
7#include "mc/world/level/levelgen/density/DensityVolume.h"
8#include "mc/world/level/levelgen/density/calculators/IDensityCalculator.h"
9
10// auto generated forward declare list
11// clang-format off
14class DensityVolume;
15// clang-format on
16
18public:
19 // CacheDensityCalculator inner types declare
20 // clang-format off
21 struct CachedVolume;
22 // clang-format on
23
24 // CacheDensityCalculator inner types define
25 struct CachedVolume {
26 public:
27 // member variables
28 // NOLINTBEGIN
29 ::ll::TypedStorage<4, 12, ::Pos> mPos;
30 ::ll::TypedStorage<4, 12, ::Pos> mStep;
31 ::ll::TypedStorage<2, 6, ::DensityVolume::Dimensions> mDimensions;
32 ::ll::TypedStorage<8, 24, ::std::vector<float>> mData;
33 // NOLINTEND
34 };
35
36public:
37 // member variables
38 // NOLINTBEGIN
39 ::ll::TypedStorage<2, 2, ushort> mInput;
40 ::ll::TypedStorage<8, 64, ::std::optional<::CacheDensityCalculator::CachedVolume const>> mCachedVolume;
41 // NOLINTEND
42
43public:
44 // virtual functions
45 // NOLINTBEGIN
46 virtual ~CacheDensityCalculator() /*override*/ = default;
47
48 virtual void fill(::DensityVolume&, ::DensityAllocator&, ::DensityCalculators const&) const /*override*/;
49 // NOLINTEND
50
51public:
52 // virtual function thunks
53 // NOLINTBEGIN
54
55 // NOLINTEND
56};
Definition CacheDensityCalculator.h:17
Definition DensityAllocator.h:10
Definition DensityCalculators.h:10
Definition DensityVolume.h:13
Definition IDensityCalculator.h:12
Definition CacheDensityCalculator.h:25