3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/renderer/block/AOBlockData.h"
7#include "mc/deps/core/math/Color.h"
8#include "mc/world/level/BlockPos.h"
30 ::ll::TypedStorage<1, 1, bool> mBakeFaceShading;
31 ::ll::TypedStorage<1, 1, bool> mBrightShadingForEmissiveBlocks;
38 ::ll::TypedStorage<1, 1, bool> mTintSides;
39 ::ll::TypedStorage<1, 1, bool> mDoSeasons;
40 ::ll::TypedStorage<1, 1, bool> mTouchEdge;
41 ::ll::TypedStorage<4, 24, float[6]> mFaceShading;
42 ::ll::TypedStorage<8, 8, ::BlockTessellatorCache&> mCache;
43 ::ll::TypedStorage<4, 12, ::BlockPos const> mCenterPos;
44 ::ll::TypedStorage<8, 8, ::Block const&> mCenterBlock;
45 ::ll::TypedStorage<4, 16, ::mce::Color> mBaseColor;
46 ::ll::TypedStorage<8, 8, ::BrightnessPair*> mOutputLightTexturePositons;
47 ::ll::TypedStorage<8, 8, ::mce::Color*> mOutputColors;
48 ::ll::TypedStorage<8, 624, ::std::array<::AOBlockData, 26>> mAOBlockCacheData;
53 AmbientOcclusionCalculator& operator=(AmbientOcclusionCalculator
const&);
54 AmbientOcclusionCalculator(AmbientOcclusionCalculator
const&);
55 AmbientOcclusionCalculator();
60 MCAPI AmbientOcclusionCalculator(
61 ::BlockPos
const& centerPos,
62 ::Block
const& centerBlock,
63 ::BlockTessellatorCache& cache,
64 ::AmbientOcclusionCalculator::AocConfiguration
const& configuration
67 MCAPI ::PrecompCache _getCache();
69 MCAPI
void calculate(uchar face);
71 MCAPI
void calculateBoxAverage(
bool);
73 MCAPI
void calculateWithCache(uchar face);
80 ::BlockPos
const& centerPos,
81 ::Block
const& centerBlock,
82 ::BlockTessellatorCache& cache,
83 ::AmbientOcclusionCalculator::AocConfiguration
const& configuration
Definition AmbientOcclusionCalculator.h:5
Definition BlockTessellatorCache.h:5
Definition AmbientOcclusionCalculator.h:13
Definition BrightnessPair.h:8
Definition PrecompCache.h:5