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/client/renderer/chunks/render_chunk_vertex_streaming/PackedRenderChunkLayerGroupBuffers.h"
9#include "mc/deps/core/utility/NonOwnerPointer.h"
10#include "mc/deps/game_refs/WeakRef.h"
11#include "mc/deps/minecraft_renderer/game/RangeIndices.h"
12#include "mc/world/phys/AABB.h"
34namespace mce {
class Mesh; }
43 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::ChunkViewSource>> mLocalSource;
44 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BlockTessellator>> mBlockTessellator;
45 ::ll::TypedStorage<1, 1, bool> mAllDark;
46 ::ll::TypedStorage<1, 1, bool> mSkyLit;
47 ::ll::TypedStorage<1, 1, bool> mBlendCanRenderAsOpaque;
48 ::ll::TypedStorage<4, 4, float> mAverageSkyLight;
49 ::ll::TypedStorage<8, 168, ::std::array<::std::vector<::RenderChunkQuadInfo>, 7>> mFaceMetadata;
50 ::ll::TypedStorage<4, 176, ::std::array<::RangeIndices, 22>> mRenderLayerRanges;
51 ::ll::TypedStorage<8, 64, ::RenderChunkMetrics::MetricData> mBuilderMetricData;
52 ::ll::TypedStorage<8, 8, ::std::vector<::BlockQueueEntry>*> mQueues;
53 ::ll::TypedStorage<8, 8, ::std::vector<::BlockQueueEntry>*> mSimpleOpaqueBlockQueue;
54 ::ll::TypedStorage<8, 176, uint64[22]> 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<8, 352, ::std::optional<::RenderChunkVertexStreaming::PackedRenderChunkLayerGroupBuffers>>
64 mPackedRenderChunkLayerGroupBuffers;
65 ::ll::TypedStorage<1, 1, bool> mGUIRendering;
66 ::ll::TypedStorage<1, 1, bool> mUseNewTessellationPipeline;
67 ::ll::TypedStorage<1, 1, bool> mTextureShiftsEnabled;
68 ::ll::TypedStorage<4, 24, ::AABB> mBuildBoundingBox;
69 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::IRenderChunkGarbage>> mRenderChunkGarbage;
70 ::ll::TypedStorage<8, 16, ::WeakRef<::RenderChunkCoordinator>> mRenderChunkCoordinator;
74 ::Bedrock::NonOwnerPointer<::RenderChunkVertexStreaming::RenderChunkVertexStreamPlanRegistry const>>
75 mRenderChunkVertexStreamPlanRegistry;
80 RenderChunkBuilder& operator=(RenderChunkBuilder
const&);
81 RenderChunkBuilder(RenderChunkBuilder
const&);
88 ::std::shared_ptr<::ClientBlockPipeline::MaterialRepository>
const& materialRepository,
95 ::std::shared_ptr<::ClientBlockPipeline::MaterialRepository>
const& materialRepository,
98 ::std::weak_ptr<::IRenderChunkGarbage> garbage
101 MCAPI RenderChunkBuilder(
113 bool transparentLeaves,
114 ::BakedBlockLightType lightingType,
119 MCAPI ~RenderChunkBuilder();
127 uint64
const blockBitsetIndex,
136 ::std::shared_ptr<::ClientBlockPipeline::MaterialRepository>
const& materialRepository,
143 ::std::shared_ptr<::ClientBlockPipeline::MaterialRepository>
const& materialRepository,
146 ::std::weak_ptr<::IRenderChunkGarbage> garbage
Definition BlockTessellator.h:5
Definition ChunkSource.h:37
Definition ChunkViewSource.h:23
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
MCAPI::RenderChunkVertexStreaming::PackedRenderChunkLayerGroupBuffers acquirePackedRenderChunkLayerGroupBuffers()
MCAPI void * $ctor(::std::shared_ptr<::ClientBlockPipeline::MaterialRepository > const &materialRepository, ::ChunkSource &mainSource, ::Tessellator &tessellator, ::std::weak_ptr<::IRenderChunkGarbage > garbage)
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 RenderChunkBuilder(::std::shared_ptr<::ClientBlockPipeline::MaterialRepository > const &materialRepository, ::ChunkSource &mainSource, ::Tessellator &tessellator, ::WeakRef<::RenderChunkCoordinator > coordinator)
static MCAPI void checkNeighborBlockIsAirOrSimpleBlock(::Block const &block, uint64 const blockBitsetIndex, ::AirAndSimpleBlockBits &airAndSimpleBlocks)
Definition RenderChunkCoordinator.h:5
Definition RenderChunkGeometry.h:5
Definition RenderChunkVertexStreamPlanRegistry.h:7
Definition RuntimeLocalLightingConfig.h:5
Definition Tessellator.h:5
Definition AirAndSimpleBlockBits.h:5
Definition BlockQueueEntry.h:5
Definition RenderChunkQuadInfo.h:5
Definition FrameLightingModelCapabilities.h:7