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