3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/renderer/block/BakedBlockLightType.h"
7#include "mc/client/renderer/chunks/RenderChunkPerformanceTrackingData.h"
8#include "mc/deps/game_refs/WeakRef.h"
9#include "mc/deps/minecraft_renderer/game/RangeIndices.h"
10#include "mc/world/level/chunk/ChunkSourceViewGenerateMode.h"
11#include "mc/world/phys/AABB.h"
32namespace ClientBlockPipeline {
struct Description; }
35namespace mce {
class Mesh; }
44 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::ChunkViewSource>> mLocalSource;
45 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BlockTessellator>> mBlockTessellator;
46 ::ll::TypedStorage<1, 1, bool> mAllDark;
47 ::ll::TypedStorage<1, 1, bool> mSkyLit;
48 ::ll::TypedStorage<1, 1, bool> mBlendCanRenderAsOpaque;
49 ::ll::TypedStorage<4, 4, float> mAverageSkyLight;
50 ::ll::TypedStorage<8, 168, ::std::array<::std::vector<::RenderChunkQuadInfo>, 7>> mFaceMetadata;
51 ::ll::TypedStorage<4, 136, ::std::array<::RangeIndices, 17>> mRenderLayerRanges;
52 ::ll::TypedStorage<8, 8, ::std::vector<::BlockQueueEntry>*> mQueues;
53 ::ll::TypedStorage<8, 8, ::std::vector<::BlockQueueEntry>*> mSimpleOpaqueBlockQueue;
54 ::ll::TypedStorage<8, 136, uint64[17]> mQueueIndexCounts;
55 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Tessellator>> mOwnedTessellator;
56 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::ClientBlockPipeline::MaterialRepository>> mMaterialRepository;
57 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::RuntimeLocalLightingConfig const>> mLocalLightingConfig;
58 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ClientBlockPipeline::BlockTessellatorPipeline>> mPipelineTessellator;
59 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ClientBlockPipeline::Description>> mPipelineDescription;
60 ::ll::TypedStorage<8, 8, ::Tessellator&> mTessellator;
61 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::mce::Mesh>> mBuiltMesh;
62 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::mce::MeshData>> mMeshData;
63 ::ll::TypedStorage<1, 1, bool> mGUIRendering;
64 ::ll::TypedStorage<4, 24, ::AABB> mBuildBoundingBox;
65 ::ll::TypedStorage<1, 1, bool> mUseNewTessellationPipeline;
66 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::IRenderChunkGarbage>> mRenderChunkGarbage;
67 ::ll::TypedStorage<8, 16, ::WeakRef<::RenderChunkCoordinator>> mRenderChunkCoordinator;
72 RenderChunkBuilder& operator=(RenderChunkBuilder
const&);
73 RenderChunkBuilder(RenderChunkBuilder
const&);
80 ::std::shared_ptr<::ClientBlockPipeline::MaterialRepository>
const& materialRepository,
87 ::std::shared_ptr<::ClientBlockPipeline::MaterialRepository>
const& materialRepository,
90 ::std::weak_ptr<::IRenderChunkGarbage> garbage
107 bool transparentLeaves,
129 bool transparentLeaves,
130 ::BakedBlockLightType lightingType,
145 uint64 blockBitsetIndex,
154 ::std::shared_ptr<::ClientBlockPipeline::MaterialRepository>
const& materialRepository,
161 ::std::shared_ptr<::ClientBlockPipeline::MaterialRepository>
const& materialRepository,
164 ::std::weak_ptr<::IRenderChunkGarbage> garbage
Definition BlockSource.h:68
Definition ChunkSource.h:37
Definition ChunkViewSource.h:22
Definition MinecraftGameplayGraphicsResources.h:5
Definition RenderChunkBuilder.h:5
MCAPI bool _tessellateQueues(::RenderChunkGeometry &renderChunkGeometry, ::BlockSource ®ion, ::AirAndSimpleBlockBits &airAndSimpleBlocks, ::RenderChunkPerformanceTrackingData::RenderChunkBuildDetails &renderChunkBuildDetails)
MCAPI void * $ctor(::MinecraftGameplayGraphicsResources &minecraftGameplayGraphicsResources, ::ClientBlockPipeline::TessellatorContext &pipelineTessellatorContext, ::ChunkSource &mainSource, ::WeakRef<::RenderChunkCoordinator > coordinator)
MCAPI void * $ctor(::std::shared_ptr<::ClientBlockPipeline::MaterialRepository > const &materialRepository, ::ChunkSource &mainSource, ::Tessellator &tessellator, ::std::weak_ptr<::IRenderChunkGarbage > garbage)
MCAPI ~RenderChunkBuilder()
MCAPI void prepareWorldData(::BlockPos const &pos, ::ChunkSourceViewGenerateMode viewMoveMode)
MCAPI void _buildRanges(::RenderChunkPerformanceTrackingData::RenderChunkBuildDetails &renderChunkBuildDetails)
MCAPI bool _sortBlocks(::BlockSource ®ion, ::RenderChunkGeometry &renderChunkGeometry, bool transparentLeaves, ::AirAndSimpleBlockBits &airAndSimpleBlocks, ::RenderChunkPerformanceTrackingData::RenderChunkBuildDetails &renderChunkBuildDetails)
static MCAPI void checkNeighborBlockIsAirOrSimpleBlock(::Block const &block, uint64 blockBitsetIndex, ::AirAndSimpleBlockBits &airAndSimpleBlocks)
MCAPI bool _tessellateNewPipeline(::RenderChunkGeometry &renderChunkGeometry, ::BlockSource &, ::RenderChunkPerformanceTrackingData::RenderChunkBuildDetails &renderChunkBuildDetails)
MCAPI void _updateFacesMetadata()
MCAPI void build(::RenderChunkGeometry &renderChunkGeometry, bool transparentLeaves, ::BakedBlockLightType lightingType, bool forExport, ::mce::framebuilder::FrameLightingModelCapabilities const &lightingModelCapabilities)
MCAPI RenderChunkBuilder(::std::shared_ptr<::ClientBlockPipeline::MaterialRepository > const &materialRepository, ::ChunkSource &mainSource, ::Tessellator &tessellator, ::std::weak_ptr<::IRenderChunkGarbage > garbage)
MCAPI void * $ctor(::std::shared_ptr<::ClientBlockPipeline::MaterialRepository > const &materialRepository, ::ChunkSource &mainSource, ::Tessellator &tessellator, ::WeakRef<::RenderChunkCoordinator > coordinator)
MCAPI void _overrideStaticBlockLighting(::BlockSource ®ion, ::SubChunkPos const &subChunkPos)
MCAPI RenderChunkBuilder(::MinecraftGameplayGraphicsResources &minecraftGameplayGraphicsResources, ::ClientBlockPipeline::TessellatorContext &pipelineTessellatorContext, ::ChunkSource &mainSource, ::WeakRef<::RenderChunkCoordinator > coordinator)
MCAPI RenderChunkBuilder(::std::shared_ptr<::ClientBlockPipeline::MaterialRepository > const &materialRepository, ::ChunkSource &mainSource, ::Tessellator &tessellator, ::WeakRef<::RenderChunkCoordinator > coordinator)
Definition SubChunkPos.h:5
Definition Tessellator.h:5
Definition AirAndSimpleBlockBits.h:5
Definition BlockQueueEntry.h:5
Definition BlockTessellator.h:5
Definition BlockTessellatorPipeline.h:7
Definition Description.h:7
Definition MaterialRepository.h:7
Definition TessellatorContext.h:7
Definition IRenderChunkGarbage.h:5
Definition RenderChunkCoordinator.h:5
Definition RenderChunkGeometry.h:5
Definition RenderChunkQuadInfo.h:5
Definition RuntimeLocalLightingConfig.h:5
Definition FrameLightingModelCapabilities.h:7