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

Classes

struct  ActorBlockSyncMessageWithVersion
struct  BlockActorBlockSyncMessageWithVersion

Public Types

enum class  VisibilityBuildState : int { Dirty = 0 , Building = 1 , BuildingButDirty = 2 , Ready = 3 }
enum class  DataState : int { WontLoad = 0 , Loading = 1 , Loaded = 2 }
enum class  BuildState : int { Building = 0 , NotBuldingOrSorting = 1 }
enum class  VisibilityBuildState : int { Dirty = 0 , Building = 1 , BuildingButDirty = 2 , Ready = 3 }
enum class  DataState : int { WontLoad = 0 , Loading = 1 , Loaded = 2 }
enum class  BuildState : int { Building = 0 , NotBuldingOrSorting = 1 }

Public Member Functions

MCAPI RenderChunkShared (::SubChunkPos const &rcp)
MCAPI void addBlockEntityBlockSyncMessages (::buffer_span<::BlockActorBlockSyncMessage > syncMsgList)
MCAPI void addEntityBlockSyncMessages (::buffer_span<::ActorBlockSyncMessage > syncMsgList)
MCAPI void endRebuild (::RenderChunkBuilder &builder, ::mce::BufferResourceService &bufferResourceService, ::RenderChunkVertexStreaming::RenderChunkVertexStreamPlanRegistry const &renderChunkVertexStreamPlanRegistry, bool useSplitStream)
MCAPI ::std::vector<::BlockActorBlockSyncMessage > getAndPruneBlockEntityBlockSyncMessages (uchar version)
MCAPI ::std::vector<::ActorBlockSyncMessage > getAndPruneEntityBlockSyncMessages (uchar version)
MCAPI void rebuildVisbility (::BlockSource &region)
MCAPI void setVisibilityToEmptyAndSkyLit ()
MCAPI void startRebuild (::RenderChunkBuilder &builder, ::Vec3 const &currentCameraPosition)
MCAPI void * $ctor (::SubChunkPos const &rcp)
MCAPI void $dtor ()

Public Attributes

::ll::TypedStorage< 1, 1, bool > mEmpty
::ll::TypedStorage< 1, 1, bool > mSkyLit
::ll::TypedStorage< 1, 1, bool > mAllDark
::ll::TypedStorage< 1, 1, bool > mImmediateChangeRequested
::ll::TypedStorage< 4, 4, ::std::atomic<::RenderChunkShared::BuildState > > mBuildState
::ll::TypedStorage< 4, 12, ::BlockPos > mCenter
::ll::TypedStorage< 4, 12, ::BlockPos > mPosition
::ll::TypedStorage< 4, 4, ::std::atomic<::RenderChunkShared::VisibilityBuildState > > mVisibilityBuildState
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::RenderChunkGeometry > > mCurrentRenderChunkGeometry
::ll::TypedStorage< 1, 6, ::VisibilityNode > mVisibility
::ll::TypedStorage< 1, 1, bool > mVisibilityMatrixChanged
::ll::TypedStorage< 1, 1, uchar > mVisibleCameraSet
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::RenderChunkGeometry > > mBuildingRenderChunkGeometry
::ll::TypedStorage< 8, 24, ::std::vector<::RenderChunkShared::ActorBlockSyncMessageWithVersion > > mEntityBlockMessageList
::ll::TypedStorage< 8, 24, ::std::vector<::RenderChunkShared::BlockActorBlockSyncMessageWithVersion > > mBlockEntityBlockMessageList
::ll::TypedStorage< 8, 56, ::dragon::RenderMetadata > mRenderMetadata

Member Function Documentation

◆ addBlockEntityBlockSyncMessages()

MCAPI void RenderChunkShared::addBlockEntityBlockSyncMessages ( ::buffer_span<::BlockActorBlockSyncMessage > syncMsgList)
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.

◆ addEntityBlockSyncMessages()

MCAPI void RenderChunkShared::addEntityBlockSyncMessages ( ::buffer_span<::ActorBlockSyncMessage > syncMsgList)
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.

◆ endRebuild()

MCAPI void RenderChunkShared::endRebuild ( ::RenderChunkBuilder & builder,
::mce::BufferResourceService & bufferResourceService,
::RenderChunkVertexStreaming::RenderChunkVertexStreamPlanRegistry const & renderChunkVertexStreamPlanRegistry,
bool useSplitStream )
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.

◆ getAndPruneBlockEntityBlockSyncMessages()

MCAPI ::std::vector<::BlockActorBlockSyncMessage > RenderChunkShared::getAndPruneBlockEntityBlockSyncMessages ( uchar version)
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.

◆ getAndPruneEntityBlockSyncMessages()

MCAPI ::std::vector<::ActorBlockSyncMessage > RenderChunkShared::getAndPruneEntityBlockSyncMessages ( uchar version)
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.

◆ rebuildVisbility()

MCAPI void RenderChunkShared::rebuildVisbility ( ::BlockSource & region)
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.

◆ setVisibilityToEmptyAndSkyLit()

MCAPI void RenderChunkShared::setVisibilityToEmptyAndSkyLit ( )
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: