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

Classes

struct  LocalRegistry

Public Member Functions

MCAPI::Block const & getBlock (::BlockPos const &p)
MCAPI::BlockGraphics const * getBlockGraphics (::BlockPos const &p, ::Block const &block, uint layer)
MCAPI::Block const & getExtraBlock (::BlockPos const &p)
MCAPI::BrightnessPair getLightColor (::BlockPos const &p, ::Block const *blockHint)

Public Attributes

::ll::TypedStorage< 8, 8, ::BlockTessellatorCache::LocalRegistry > mLocalRegistry
::ll::TypedStorage< 4, 12, ::BlockPos > mPos
::ll::TypedStorage< 8, 8, ::BlockSource * > mRegion
::ll::TypedStorage< 1, 16000, ::std::array<::BrightnessPair, 8000 > > mLightColors
::ll::TypedStorage< 8, 64000, ::std::array<::Block const *, 8000 > > mBlocks
::ll::TypedStorage< 8, 64000, ::std::array<::Block const *, 8000 > > mExtraBlocks
::ll::TypedStorage< 8, 128000, ::std::array<::BlockGraphics const *, 8000 >[2]> mBlockGraphics

Member Function Documentation

◆ getBlock()

MCAPI::Block const & BlockTessellatorCache::getBlock ( ::BlockPos const & p)
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.

◆ getBlockGraphics()

MCAPI::BlockGraphics const * BlockTessellatorCache::getBlockGraphics ( ::BlockPos const & p,
::Block const & block,
uint layer )
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.

◆ getExtraBlock()

MCAPI::Block const & BlockTessellatorCache::getExtraBlock ( ::BlockPos const & p)
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.

◆ getLightColor()

MCAPI::BrightnessPair BlockTessellatorCache::getLightColor ( ::BlockPos const & p,
::Block const * blockHint )
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: