LeviLamina
Loading...
Searching...
No Matches
PointLightShadowBatchProcessor.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/BlockPos.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace PointLighting { class PointLightShadowProbe; }
11namespace PointLighting { struct ProbeBatchEntry; }
12// clang-format on
13
14namespace PointLighting {
15
17public:
18 // PointLightShadowBatchProcessor inner types define
19 using ProbeMap = ::std::unordered_map<::BlockPos, ::PointLighting::PointLightShadowProbe>;
20
21 using IsRenderedPredicate = ::std::function<bool(::PointLighting::PointLightShadowProbe const&)>;
22
23public:
24 // member variables
25 // NOLINTBEGIN
26 ::ll::TypedStorage<8, 24, ::std::vector<::BlockPos>> mPendingProbes;
27 ::ll::TypedStorage<8, 64, ::std::unordered_set<::BlockPos>> mPendingSet;
28 // NOLINTEND
29
30public:
31 // member functions
32 // NOLINTBEGIN
33 MCAPI ::std::vector<::PointLighting::ProbeBatchEntry> selectBatch(
34 ::std::unordered_map<::BlockPos, ::PointLighting::PointLightShadowProbe> const& activeProbes,
35 ::std::_List_const_iterator<::std::_List_val<
36 ::std::_List_simple_types<::std::pair<::BlockPos const, ::PointLighting::PointLightShadowProbe>>>>&
37 nextToQueue,
38 uint64 budget,
39 ::glm::vec3 const& worldOrigin,
40 ::std::function<bool(::PointLighting::PointLightShadowProbe const&)> isRendered
41 );
42 // NOLINTEND
43};
44
45} // namespace PointLighting
Definition PointLightShadowBatchProcessor.h:7
Definition PointLightShadowProbe.h:7
Definition ProbeBatchEntry.h:7