3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/renderer/block/BakedBlockLightType.h"
7#include "mc/client/renderer/chunks/render_chunk_metrics/MetricData.h"
8#include "mc/deps/game_refs/WeakRef.h"
9#include "mc/deps/minecraft_renderer/game/RangeIndices.h"
10#include "mc/world/phys/AABB.h"
31namespace mce {
class Mesh; }
40 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::ChunkViewSource>> mLocalSource;
41 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BlockTessellator>> mBlockTessellator;
42 ::ll::TypedStorage<1, 1, bool> mAllDark;
43 ::ll::TypedStorage<1, 1, bool> mSkyLit;
44 ::ll::TypedStorage<1, 1, bool> mBlendCanRenderAsOpaque;
45 ::ll::TypedStorage<4, 4, float> mAverageSkyLight;
46 ::ll::TypedStorage<8, 168, ::std::array<::std::vector<::RenderChunkQuadInfo>, 7>> mFaceMetadata;
47 ::ll::TypedStorage<4, 176, ::std::array<::RangeIndices, 22>> mRenderLayerRanges;
48 ::ll::TypedStorage<8, 64, ::RenderChunkMetrics::MetricData> mBuilderMetricData;
49 ::ll::TypedStorage<8, 8, ::std::vector<::BlockQueueEntry>*> mQueues;
50 ::ll::TypedStorage<8, 8, ::std::vector<::BlockQueueEntry>*> mSimpleOpaqueBlockQueue;
51 ::ll::TypedStorage<8, 176, uint64[22]> mQueueIndexCounts;
52 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Tessellator>> mOwnedTessellator;
53 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::ClientBlockPipeline::MaterialRepository>> mMaterialRepository;
54 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::RuntimeLocalLightingConfig const>> mLocalLightingConfig;
55 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ClientBlockPipeline::BlockTessellatorPipeline>> mPipelineTessellator;
56 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ClientBlockPipeline::Description>> mPipelineDescription;
57 ::ll::TypedStorage<8, 8, ::Tessellator&> mTessellator;
58 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::mce::Mesh>> mBuiltMesh;
59 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::mce::MeshData>> mMeshData;
60 ::ll::TypedStorage<1, 1, bool> mGUIRendering;
61 ::ll::TypedStorage<1, 1, bool> mUseNewTessellationPipeline;
62 ::ll::TypedStorage<1, 1, bool> mTextureShiftsEnabled;
63 ::ll::TypedStorage<4, 24, ::AABB> mBuildBoundingBox;
64 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::IRenderChunkGarbage>> mRenderChunkGarbage;
65 ::ll::TypedStorage<8, 16, ::WeakRef<::RenderChunkCoordinator>> mRenderChunkCoordinator;
70 RenderChunkBuilder& operator=(RenderChunkBuilder
const&);
71 RenderChunkBuilder(RenderChunkBuilder
const&);
77 MCAPI RenderChunkBuilder(
78 ::std::shared_ptr<::ClientBlockPipeline::MaterialRepository>
const& materialRepository,
79 ::ChunkSource& mainSource,
80 ::Tessellator& tessellator,
81 ::WeakRef<::RenderChunkCoordinator> coordinator
84 MCAPI RenderChunkBuilder(
85 ::std::shared_ptr<::ClientBlockPipeline::MaterialRepository>
const& materialRepository,
86 ::ChunkSource& mainSource,
87 ::Tessellator& tessellator,
88 ::std::weak_ptr<::IRenderChunkGarbage> garbage
91 MCAPI RenderChunkBuilder(
92 ::MinecraftGameplayGraphicsResources& minecraftGameplayGraphicsResources,
93 ::ClientBlockPipeline::TessellatorContext& pipelineTessellatorContext,
94 ::ChunkSource& mainSource,
95 ::WeakRef<::RenderChunkCoordinator> coordinator
99 ::RenderChunkGeometry& renderChunkGeometry,
100 bool transparentLeaves,
101 ::BakedBlockLightType lightingType,
103 ::mce::framebuilder::FrameLightingModelCapabilities
const& lightingModelCapabilities
106 MCAPI ~RenderChunkBuilder();
112 MCAPI
static void checkNeighborBlockIsAirOrSimpleBlock(
113 ::Block
const& block,
114 uint64
const blockBitsetIndex,
115 ::AirAndSimpleBlockBits& airAndSimpleBlocks
123 ::std::shared_ptr<::ClientBlockPipeline::MaterialRepository>
const& materialRepository,
124 ::ChunkSource& mainSource,
125 ::Tessellator& tessellator,
126 ::WeakRef<::RenderChunkCoordinator> coordinator
130 ::std::shared_ptr<::ClientBlockPipeline::MaterialRepository>
const& materialRepository,
131 ::ChunkSource& mainSource,
132 ::Tessellator& tessellator,
133 ::std::weak_ptr<::IRenderChunkGarbage> garbage
137 ::MinecraftGameplayGraphicsResources& minecraftGameplayGraphicsResources,
138 ::ClientBlockPipeline::TessellatorContext& pipelineTessellatorContext,
139 ::ChunkSource& mainSource,
140 ::WeakRef<::RenderChunkCoordinator> coordinator
Definition BlockTessellator.h:5
Definition ChunkSource.h:36
Definition ChunkViewSource.h:22
Definition BlockTessellatorPipeline.h:7
Definition Description.h:7
Definition MaterialRepository.h:7
Definition TessellatorContext.h:7
Definition IRenderChunkGarbage.h:5
Definition MinecraftGameplayGraphicsResources.h:5
Definition RenderChunkBuilder.h:5
Definition RenderChunkCoordinator.h:5
Definition RenderChunkGeometry.h:5
Definition RuntimeLocalLightingConfig.h:5
Definition Tessellator.h:5
Definition AirAndSimpleBlockBits.h:5
Definition BlockQueueEntry.h:5
Definition RenderChunkQuadInfo.h:5
Definition FrameLightingModelCapabilities.h:7