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