LeviLamina
Loading...
Searching...
No Matches
SmoothLightBitHelpers.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/renderer/block/tessellation_pipeline/helper/client_block_pipeline/ArrayCache.h"
7
8// auto generated forward declare list
9// clang-format off
10class BlockPos;
11class Vec3;
12struct BrightnessPair;
13namespace ClientBlockPipeline { struct BitsetCache; }
14namespace ClientBlockPipeline { struct BlockVolumeArea; }
15namespace ClientBlockPipeline::SmoothLightBitHelpers { struct CachedData; }
16namespace ClientBlockPipeline::SmoothLightBitHelpers { struct SampledLightValues; }
17// clang-format on
18
19namespace ClientBlockPipeline::SmoothLightBitHelpers {
20// functions
21// NOLINTBEGIN
22MCAPI ::ClientBlockPipeline::SmoothLightBitHelpers::SampledLightValues _computeLightValueWeightedAverage(
23 ::ClientBlockPipeline::SmoothLightBitHelpers::CachedData const& cache,
24 ::BlockPos const& bottomLeft,
25 ::Vec3 const& position,
26 ::Vec3 const& normal,
27 bool calculate_ao
28);
29
30MCAPI ::ClientBlockPipeline::SmoothLightBitHelpers::CachedData _generateCache(
31 ::BlockPos const& bottomLeft,
32 ::ClientBlockPipeline::BlockVolumeArea const& area,
33 ::ClientBlockPipeline::ArrayCache<::BrightnessPair> const& lightCache,
34 ::ClientBlockPipeline::ArrayCache<float> const& aoCache,
35 ::ClientBlockPipeline::BitsetCache const& opaqueFullBlockCache
36);
37// NOLINTEND
38
39} // namespace ClientBlockPipeline::SmoothLightBitHelpers
Definition BlockPos.h:19
Definition Vec3.h:10
Definition BrightnessPair.h:8
Definition BitsetCache.h:7
Definition BlockVolumeArea.h:7