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 endRebuild (::RenderChunkBuilder &builder, ::mce::BufferResourceService &bufferResourceService, bool useSplitStream)
MCAPI ::std::vector<::BlockActorBlockSyncMessage > getAndPruneBlockEntityBlockSyncMessages (uchar version)
MCAPI ::std::vector<::ActorBlockSyncMessage > getAndPruneEntityBlockSyncMessages (uchar version)
MCAPI void rebuildVisbility (::BlockSource &region)
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, 64, ::dragon::RenderMetadata > mRenderMetadata

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