LeviLamina
Loading...
Searching...
No Matches
SurfaceMaterialAdjustmentAttributes.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/util/molang/ExpressionNode.h"
7#include "mc/util/molang/ExpressionOp.h"
8#include "mc/world/level/biome/components/BiomeComponentBase.h"
9#include "mc/world/level/biome/components/SurfaceMaterialAttributes.h"
10
11// auto generated forward declare list
12// clang-format off
13class BlockPos;
15class RenderParams;
17// clang-format on
18
20public:
21 // SurfaceMaterialAdjustmentAttributes inner types declare
22 // clang-format off
23 struct Element;
24 // clang-format on
25
26 // SurfaceMaterialAdjustmentAttributes inner types define
27 struct Element {
28 public:
29 // member variables
30 // NOLINTBEGIN
31 ::ll::TypedStorage<4, 4, float> mNoiseFreqScale;
32 ::ll::TypedStorage<4, 4, float> mNoiseLowerBound;
33 ::ll::TypedStorage<4, 4, float> mNoiseUpperBound;
34 ::ll::TypedStorage<8, 16, ::ExpressionNode> mHeightMin;
35 ::ll::TypedStorage<8, 16, ::ExpressionNode> mHeightMax;
36 ::ll::TypedStorage<8, 56, ::SurfaceMaterialAttributes> mAdjustedMaterials;
37 // NOLINTEND
38
39 public:
40 // member functions
41 // NOLINTBEGIN
42 MCAPI ~Element();
43 // NOLINTEND
44
45 public:
46 // destructor thunk
47 // NOLINTBEGIN
48 MCAPI void $dtor();
49 // NOLINTEND
50 };
51
52public:
53 // member variables
54 // NOLINTBEGIN
55 ::ll::TypedStorage<8, 24, ::std::vector<::SurfaceMaterialAdjustmentAttributes::Element>> mAdjustments;
56 // NOLINTEND
57
58public:
59 // virtual functions
60 // NOLINTBEGIN
61 virtual ~SurfaceMaterialAdjustmentAttributes() /*override*/ = default;
62 // NOLINTEND
63
64public:
65 // member functions
66 // NOLINTBEGIN
67 MCAPI ::SurfaceMaterialAdjustmentEvaluated evaluateAdjustments(
68 ::RenderParams& molangParams,
69 ::gsl::not_null<::PerlinSimplexNoise*> noise,
70 ::BlockPos const& pos,
71 int heightMin,
72 int heightMax
73 ) const;
74 // NOLINTEND
75
76public:
77 // static functions
78 // NOLINTBEGIN
79 MCFOLD static void
80 parseExpressionNodeFloat(::ExpressionOp op, ::std::string const& data, ::ExpressionNode& node, float defaultValue);
81 // NOLINTEND
82
83public:
84 // vftables
85 // NOLINTBEGIN
86 MCNAPI static void** $vftable();
87 // NOLINTEND
88};
Definition BlockPos.h:19
Definition ExpressionNode.h:33
Definition PerlinSimplexNoise.h:13
Definition RenderParams.h:30
Definition BiomeComponentBase.h:5
Definition SurfaceMaterialAdjustmentAttributes.h:27
Definition SurfaceMaterialAdjustmentAttributes.h:19
static MCAPI void ** $vftable()
Definition SurfaceMaterialAdjustmentEvaluated.h:8