LeviLamina
Loading...
Searching...
No Matches
LightDistanceToPlayerHeuristic.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/renderer/chunks/point_lighting/ICandidacyHeuristic.h"
7#include "mc/deps/core/math/Vec3.h"
8
9// auto generated forward declare list
10// clang-format off
11class BlockPos;
12class SubChunkPos;
13namespace PointLighting { struct ManagedPointLight; }
14// clang-format on
15
16namespace PointLighting {
17
18struct LightDistanceToPlayerHeuristic : public ::PointLighting::ICandidacyHeuristic {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<4, 12, ::Vec3> mPlayerPos;
23 ::ll::TypedStorage<4, 4, float> mMinDistance;
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
28 LightDistanceToPlayerHeuristic();
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 virtual bool reject(::SubChunkPos const& subChunkPos) const /*override*/;
34
35 virtual float computeScore(::BlockPos const& bp, ::PointLighting::ManagedPointLight const&) const /*override*/;
36 // NOLINTEND
37
38public:
39 // member functions
40 // NOLINTBEGIN
41 MCAPI LightDistanceToPlayerHeuristic(::Vec3 playerPos, float minDistance);
42 // NOLINTEND
43
44public:
45 // constructor thunks
46 // NOLINTBEGIN
47 MCAPI void* $ctor(::Vec3 playerPos, float minDistance);
48 // NOLINTEND
49
50public:
51 // virtual function thunks
52 // NOLINTBEGIN
53 MCAPI bool $reject(::SubChunkPos const& subChunkPos) const;
54
55 MCAPI float $computeScore(::BlockPos const& bp, ::PointLighting::ManagedPointLight const&) const;
56 // NOLINTEND
57
58public:
59 // vftables
60 // NOLINTBEGIN
61 MCNAPI static void** $vftable();
62 // NOLINTEND
63};
64
65} // namespace PointLighting
Definition BlockPos.h:21
Definition SubChunkPos.h:5
Definition LightDistanceToPlayerHeuristic.h:7
Definition ManagedPointLight.h:7