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<8, 8, ::std::shared_mutex> mCalculatorMutex;
40 ::ll::TypedStorage<2, 2, ushort> mInput;
41 ::ll::TypedStorage<8, 64, ::std::optional<::CacheDensityCalculator::CachedVolume const>> mCachedVolume;
42 // NOLINTEND
43
44public:
45 // virtual functions
46 // NOLINTBEGIN
47 virtual ~CacheDensityCalculator() /*override*/ = default;
48
49 virtual void fill(::DensityVolume&, ::DensityAllocator&, ::DensityCalculators const&) const /*override*/;
50 // NOLINTEND
51
52public:
53 // virtual function thunks
54 // NOLINTBEGIN
55
56 // NOLINTEND
57};
Definition CacheDensityCalculator.h:17
Definition DensityAllocator.h:10
Definition DensityCalculators.h:10
Definition DensityVolume.h:13
Definition IDensityCalculator.h:12
Definition CacheDensityCalculator.h:25