Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
RenderChunkBuilder Class Reference

Public Member Functions

RenderChunkBuilder & operator= (RenderChunkBuilder const &)
 RenderChunkBuilder (RenderChunkBuilder const &)
MCAPI RenderChunkBuilder (::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, ::std::weak_ptr<::IRenderChunkGarbage > garbage)
MCAPI RenderChunkBuilder (::MinecraftGameplayGraphicsResources &minecraftGameplayGraphicsResources, ::ClientBlockPipeline::TessellatorContext &pipelineTessellatorContext, ::ChunkSource &mainSource, ::WeakRef<::RenderChunkCoordinator > coordinator, ::RenderChunkVertexStreaming::RenderChunkVertexStreamPlanRegistry const &renderChunkVertexStreamPlanRegistry)
MCAPI::RenderChunkVertexStreaming::PackedRenderChunkLayerGroupBuffers acquirePackedRenderChunkLayerGroupBuffers ()
MCAPI void build (::RenderChunkGeometry &renderChunkGeometry, bool transparentLeaves, ::BakedBlockLightType lightingType, bool forExport, ::mce::framebuilder::FrameLightingModelCapabilities const &lightingModelCapabilities)
MCAPI void * $ctor (::std::shared_ptr<::ClientBlockPipeline::MaterialRepository > const &materialRepository, ::ChunkSource &mainSource, ::Tessellator &tessellator, ::WeakRef<::RenderChunkCoordinator > coordinator)
MCAPI void * $ctor (::std::shared_ptr<::ClientBlockPipeline::MaterialRepository > const &materialRepository, ::ChunkSource &mainSource, ::Tessellator &tessellator, ::std::weak_ptr<::IRenderChunkGarbage > garbage)
MCAPI void * $ctor (::MinecraftGameplayGraphicsResources &minecraftGameplayGraphicsResources, ::ClientBlockPipeline::TessellatorContext &pipelineTessellatorContext, ::ChunkSource &mainSource, ::WeakRef<::RenderChunkCoordinator > coordinator, ::RenderChunkVertexStreaming::RenderChunkVertexStreamPlanRegistry const &renderChunkVertexStreamPlanRegistry)
MCAPI void $dtor ()

Static Public Member Functions

static MCAPI void checkNeighborBlockIsAirOrSimpleBlock (::Block const &block, uint64 const blockBitsetIndex, ::AirAndSimpleBlockBits &airAndSimpleBlocks)

Public Attributes

::ll::TypedStorage< 8, 16, ::std::shared_ptr<::ChunkViewSource > > mLocalSource
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::BlockTessellator > > mBlockTessellator
::ll::TypedStorage< 1, 1, bool > mAllDark
::ll::TypedStorage< 1, 1, bool > mSkyLit
::ll::TypedStorage< 1, 1, bool > mBlendCanRenderAsOpaque
::ll::TypedStorage< 4, 4, float > mAverageSkyLight
::ll::TypedStorage< 8, 168, ::std::array<::std::vector<::RenderChunkQuadInfo >, 7 > > mFaceMetadata
::ll::TypedStorage< 4, 176, ::std::array<::RangeIndices, 22 > > mRenderLayerRanges
::ll::TypedStorage< 8, 64, ::RenderChunkMetrics::MetricData > mBuilderMetricData
::ll::TypedStorage< 8, 8, ::std::vector<::BlockQueueEntry > * > mQueues
::ll::TypedStorage< 8, 8, ::std::vector<::BlockQueueEntry > * > mSimpleOpaqueBlockQueue
::ll::TypedStorage< 8, 176, uint64[22]> mQueueIndexCounts
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::Tessellator > > mOwnedTessellator
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::ClientBlockPipeline::MaterialRepository > > mMaterialRepository
::ll::TypedStorage< 8, 16, ::std::weak_ptr<::RuntimeLocalLightingConfig const > > mLocalLightingConfig
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::ClientBlockPipeline::BlockTessellatorPipeline > > mPipelineTessellator
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::ClientBlockPipeline::Description > > mPipelineDescription
::ll::TypedStorage< 8, 8, ::Tessellator & > mTessellator
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::mce::Mesh > > mBuiltMesh
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::mce::MeshData > > mMeshData
::ll::TypedStorage< 8, 352, ::std::optional<::RenderChunkVertexStreaming::PackedRenderChunkLayerGroupBuffers > > mPackedRenderChunkLayerGroupBuffers
::ll::TypedStorage< 1, 1, bool > mGUIRendering
::ll::TypedStorage< 1, 1, bool > mUseNewTessellationPipeline
::ll::TypedStorage< 1, 1, bool > mTextureShiftsEnabled
::ll::TypedStorage< 4, 24, ::AABB > mBuildBoundingBox
::ll::TypedStorage< 8, 16, ::std::weak_ptr<::IRenderChunkGarbage > > mRenderChunkGarbage
::ll::TypedStorage< 8, 16, ::WeakRef<::RenderChunkCoordinator > > mRenderChunkCoordinator
::ll::TypedStorage< 8, 24, ::Bedrock::NonOwnerPointer<::RenderChunkVertexStreaming::RenderChunkVertexStreamPlanRegistry const > > mRenderChunkVertexStreamPlanRegistry

Constructor & Destructor Documentation

◆ RenderChunkBuilder() [1/2]

MCAPI RenderChunkBuilder::RenderChunkBuilder ( ::std::shared_ptr<::ClientBlockPipeline::MaterialRepository > const & materialRepository,
::ChunkSource & mainSource,
::Tessellator & tessellator,
::WeakRef<::RenderChunkCoordinator > coordinator )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ RenderChunkBuilder() [2/2]

MCAPI RenderChunkBuilder::RenderChunkBuilder ( ::std::shared_ptr<::ClientBlockPipeline::MaterialRepository > const & materialRepository,
::ChunkSource & mainSource,
::Tessellator & tessellator,
::std::weak_ptr<::IRenderChunkGarbage > garbage )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

Member Function Documentation

◆ acquirePackedRenderChunkLayerGroupBuffers()

MCAPI::RenderChunkVertexStreaming::PackedRenderChunkLayerGroupBuffers RenderChunkBuilder::acquirePackedRenderChunkLayerGroupBuffers ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ checkNeighborBlockIsAirOrSimpleBlock()

MCAPI void RenderChunkBuilder::checkNeighborBlockIsAirOrSimpleBlock ( ::Block const & block,
uint64 const blockBitsetIndex,
::AirAndSimpleBlockBits & airAndSimpleBlocks )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $ctor() [1/2]

MCAPI void * RenderChunkBuilder::$ctor ( ::std::shared_ptr<::ClientBlockPipeline::MaterialRepository > const & materialRepository,
::ChunkSource & mainSource,
::Tessellator & tessellator,
::WeakRef<::RenderChunkCoordinator > coordinator )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $ctor() [2/2]

MCAPI void * RenderChunkBuilder::$ctor ( ::std::shared_ptr<::ClientBlockPipeline::MaterialRepository > const & materialRepository,
::ChunkSource & mainSource,
::Tessellator & tessellator,
::std::weak_ptr<::IRenderChunkGarbage > garbage )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following files: