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

Public Types

enum class  Bit : uchar {
  CanRender = 0 , Built = 1 , RayTracingModeOnAtBuildStart = 2 , RayTracingModeOnAtBuildEnd = 3 ,
  HasSortedLayers = 4 , ImmediateChange = 5 , BlendCanRenderAsOpaque = 6 , Count = 7
}
enum class  Bit : uchar {
  CanRender = 0 , Built = 1 , RayTracingModeOnAtBuildStart = 2 , RayTracingModeOnAtBuildEnd = 3 ,
  HasSortedLayers = 4 , ImmediateChange = 5 , BlendCanRenderAsOpaque = 6 , Count = 7
}

Public Member Functions

MCAPI RenderChunkGeometry (::BlockPos p, bool immediateChangeRequested, int buildIterationCount, double overrideReadyTime, uchar versionNum, ::std::weak_ptr<::IRenderChunkGarbage > garbage, ::EntityId entityId)
MCAPI void _convertFaceMetaDataToFaceSortingMetaData (::std::array<::std::vector<::RenderChunkQuadInfo >, 7 > const &faceMetadata, bool hasSortedLayers)
MCAPI void _resetFaceMetadata ()
MCAPI uint64 endFaceSortOnly (::mce::BufferResourceService &bufferResourceService, ::RenderChunkSorter &sorter, ::std::variant< ::std::monostate, ::std::shared_ptr<::RenderChunkDirectIndexData >, ::std::shared_ptr<::RenderChunkLayerGroupIndexData > > &nextIndices, ::std::array<::RangeIndices, 22 > &sortedIndexRange, ::dragon::RenderMetadata const &renderMetadata)
MCAPI void endRebuild (::RenderChunkBuilder &builder, ::mce::BufferResourceService &bufferResourceService, ::RenderChunkVertexStreaming::RenderChunkVertexStreamPlanRegistry const &renderChunkVertexStreamPlanRegistry, bool isBuilding, bool alreadyHadGeometry, ::dragon::RenderMetadata const &renderMetadata, bool useSplitStream)
MCAPI void rebuild (::RenderChunkBuilder &builder, bool transparentLeaves, ::BakedBlockLightType lightingType, bool forExport, ::mce::framebuilder::FrameLightingModelCapabilities const &lightingModelCapabilities)
MCAPI void reset ()
MCAPI void startRebuild (::RenderChunkBuilder &builder, ::Vec3 const &currentCameraPosition)
MCAPI ~RenderChunkGeometry ()
MCAPI void * $ctor (::BlockPos p, bool immediateChangeRequested, int buildIterationCount, double overrideReadyTime, uchar versionNum, ::std::weak_ptr<::IRenderChunkGarbage > garbage, ::EntityId entityId)
MCAPI void $dtor ()

Static Public Member Functions

static MCAPI ::std::vector<::mce::ServerTexture > createTerrainTextureList (::SubClientId player)
static MCAPI void initTextures (::Bedrock::NotNullNonOwnerPtr<::MinecraftGraphics > const &minecraftGraphics, ::std::shared_ptr<::mce::TextureGroup > textureGroup, ::Bedrock::NotNullNonOwnerPtr<::TextureAtlas const > const &atlas)
static MCAPI ::std::unique_ptr<::TerrainTextures > & mTerrainTextures ()

Public Attributes

::ll::TypedStorage< 8, 8, ::Tick > mLastChangeTick
::ll::TypedStorage< 8, 8, ::Tick > mFirstChangeTick
::ll::TypedStorage< 8, 24, ::std::variant< ::std::monostate, ::std::shared_ptr<::mce::Mesh >, ::std::shared_ptr<::RenderChunkDirectVertexData >, ::std::shared_ptr<::RenderChunkLayerGroupVertexData > > > mMeshData
::ll::TypedStorage< 4, 4, ::std::bitset< 7 > > mFlags
::ll::TypedStorage< 4, 4, float > mReadyTime
::ll::TypedStorage< 4, 4, int > mBuildIterationCount
::ll::TypedStorage< 4, 12, ::BlockPos > mPosition
::ll::TypedStorage< 4, 12, ::BlockPos > mCenter
::ll::TypedStorage< 4, 48, ::Bounds > mDataBounds
::ll::TypedStorage< 4, 4, ::EntityId > mEntityId
::ll::TypedStorage< 8, 112, ::std::array<::std::shared_ptr<::FaceSortingMetaDataBase >, 7 > > mFaceSortingMetaData
::ll::TypedStorage< 4, 176, ::std::array<::RangeIndices, 22 > > mRenderLayerIndexRanges
::ll::TypedStorage< 4, 176, ::std::array<::RangeIndices, 22 > > mWholeChunkSortSourceIndexRanges
::ll::TypedStorage< 4, 4, float > mAverageSkyLight
::ll::TypedStorage< 4, 4, ::std::bitset< 6 > > mInterlockBitField
::ll::TypedStorage< 1, 6, ::std::array< uchar, 6 > > mInterlockNeighborVersionNumbers
::ll::TypedStorage< 1, 1, uchar > mBuildVersionNumber
::ll::TypedStorage< 8, 24, ::std::vector<::BlockQueueEntry > > mPointLightCandidates
::ll::TypedStorage< 8, 16, ::std::weak_ptr<::IRenderChunkGarbage > > mRenderChunkGarbage

Constructor & Destructor Documentation

◆ RenderChunkGeometry()

MCAPI RenderChunkGeometry::RenderChunkGeometry ( ::BlockPos p,
bool immediateChangeRequested,
int buildIterationCount,
double overrideReadyTime,
uchar versionNum,
::std::weak_ptr<::IRenderChunkGarbage > garbage,
::EntityId entityId )
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.

◆ ~RenderChunkGeometry()

MCAPI RenderChunkGeometry::~RenderChunkGeometry ( )
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

◆ _convertFaceMetaDataToFaceSortingMetaData()

MCAPI void RenderChunkGeometry::_convertFaceMetaDataToFaceSortingMetaData ( ::std::array<::std::vector<::RenderChunkQuadInfo >, 7 > const & faceMetadata,
bool hasSortedLayers )
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.

◆ _resetFaceMetadata()

MCAPI void RenderChunkGeometry::_resetFaceMetadata ( )
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.

◆ endFaceSortOnly()

MCAPI uint64 RenderChunkGeometry::endFaceSortOnly ( ::mce::BufferResourceService & bufferResourceService,
::RenderChunkSorter & sorter,
::std::variant< ::std::monostate, ::std::shared_ptr<::RenderChunkDirectIndexData >, ::std::shared_ptr<::RenderChunkLayerGroupIndexData > > & nextIndices,
::std::array<::RangeIndices, 22 > & sortedIndexRange,
::dragon::RenderMetadata const & renderMetadata )
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.

◆ startRebuild()

MCAPI void RenderChunkGeometry::startRebuild ( ::RenderChunkBuilder & builder,
::Vec3 const & currentCameraPosition )
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.

◆ initTextures()

MCAPI void RenderChunkGeometry::initTextures ( ::Bedrock::NotNullNonOwnerPtr<::MinecraftGraphics > const & minecraftGraphics,
::std::shared_ptr<::mce::TextureGroup > textureGroup,
::Bedrock::NotNullNonOwnerPtr<::TextureAtlas const > const & atlas )
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.

◆ mTerrainTextures()

MCAPI ::std::unique_ptr<::TerrainTextures > & RenderChunkGeometry::mTerrainTextures ( )
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()

MCAPI void * RenderChunkGeometry::$ctor ( ::BlockPos p,
bool immediateChangeRequested,
int buildIterationCount,
double overrideReadyTime,
uchar versionNum,
::std::weak_ptr<::IRenderChunkGarbage > garbage,
::EntityId entityId )
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.

◆ $dtor()

MCAPI void RenderChunkGeometry::$dtor ( )
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: