3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/renderer/block/BakedBlockLightType.h"
7#include "mc/common/SubClientId.h"
8#include "mc/deps/core/utility/NonOwnerPointer.h"
9#include "mc/deps/ecs/EntityId.h"
10#include "mc/deps/minecraft_renderer/game/RangeIndices.h"
11#include "mc/util/Bounds.h"
12#include "mc/world/level/BlockPos.h"
13#include "mc/world/level/Tick.h"
30namespace mce {
class Mesh; }
40 enum class Bit : uchar {
43 RayTracingModeOnAtBuildStart = 2,
44 RayTracingModeOnAtBuildEnd = 3,
47 BlendCanRenderAsOpaque = 6,
54 ::ll::TypedStorage<8, 8, ::Tick> mLastChangeTick;
55 ::ll::TypedStorage<8, 8, ::Tick> mFirstChangeTick;
60 variant<::std::monostate, ::std::shared_ptr<::mce::Mesh>, ::std::shared_ptr<::RenderChunkDirectVertexData>>>
62 ::ll::TypedStorage<4, 4, ::std::bitset<7>> mFlags;
63 ::ll::TypedStorage<4, 4, float> mReadyTime;
64 ::ll::TypedStorage<4, 4, int> mBuildIterationCount;
65 ::ll::TypedStorage<4, 12, ::BlockPos> mPosition;
66 ::ll::TypedStorage<4, 12, ::BlockPos> mCenter;
67 ::ll::TypedStorage<4, 48, ::Bounds> mDataBounds;
68 ::ll::TypedStorage<4, 4, ::EntityId> mEntityId;
69 ::ll::TypedStorage<8, 112, ::std::array<::std::shared_ptr<::FaceSortingMetaDataBase>, 7>> mFaceSortingMetaData;
70 ::ll::TypedStorage<4, 176, ::std::array<::RangeIndices, 22>> mRenderLayerIndexRanges;
71 ::ll::TypedStorage<4, 4, float> mAverageSkyLight;
72 ::ll::TypedStorage<4, 4, ::std::bitset<6>> mInterlockBitField;
73 ::ll::TypedStorage<1, 6, ::std::array<uchar, 6>> mInterlockNeighborVersionNumbers;
74 ::ll::TypedStorage<1, 1, uchar> mBuildVersionNumber;
75 ::ll::TypedStorage<8, 24, ::std::vector<::BlockQueueEntry>> mPointLightCandidates;
76 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::IRenderChunkGarbage>> mRenderChunkGarbage;
82 MCAPI
void _convertFaceMetaDataToFaceSortingMetaData(
83 ::std::array<::std::vector<::RenderChunkQuadInfo>, 7>
const& faceMetadata,
87 MCAPI
void _resetFaceMetadata();
89 MCAPI uint64 endFaceSortOnly(
90 ::mce::BufferResourceService& bufferResourceService,
91 ::RenderChunkSorter& sorter,
94 ::std::shared_ptr<::mce::IndexBufferContainer>,
95 ::std::shared_ptr<::RenderChunkDirectIndexData>>& nextIndices,
96 ::std::array<::RangeIndices, 22>& sortedIndexRange,
97 ::dragon::RenderMetadata
const& renderMetadata
100 MCAPI
void endRebuild(
101 ::RenderChunkBuilder& builder,
102 ::mce::BufferResourceService& bufferResourceService,
104 bool alreadyHadGeometry,
105 ::dragon::RenderMetadata
const& renderMetadata,
110 ::RenderChunkBuilder& builder,
111 bool transparentLeaves,
112 ::BakedBlockLightType lightingType,
114 ::mce::framebuilder::FrameLightingModelCapabilities
const& lightingModelCapabilities
123 MCAPI static ::std::vector<::mce::ServerTexture> createTerrainTextureList(::SubClientId player);
125 MCAPI
static void initTextures(
126 ::Bedrock::NotNullNonOwnerPtr<::MinecraftGraphics>
const& minecraftGraphics,
127 ::std::shared_ptr<::mce::TextureGroup> textureGroup,
128 ::Bedrock::NotNullNonOwnerPtr<::TextureAtlas const>
const& atlas
135 MCAPI static ::std::unique_ptr<::TerrainTextures>& mTerrainTextures();
Definition IRenderChunkGarbage.h:5
Definition MinecraftGraphics.h:5
Definition RenderChunkBuilder.h:5
Definition RenderChunkGeometry.h:5
Definition RenderChunkSorter.h:5
Definition TerrainTextures.h:5
Definition TextureAtlas.h:5
Definition IndexBufferContainer.h:7
Definition TextureGroup.h:7
Definition BlockQueueEntry.h:5
Definition RenderChunkDirectIndexData.h:5
Definition RenderChunkDirectVertexData.h:5
Definition RenderChunkQuadInfo.h:5
Definition BufferResourceService.h:7
Definition ServerTexture.h:7
Definition FrameLightingModelCapabilities.h:7