LeviLamina
Loading...
Searching...
No Matches
OreUI::UIBlockThumbnailAtlasManager Class Reference
Inheritance diagram for OreUI::UIBlockThumbnailAtlasManager:

Classes

struct  AtlasData

Public Types

using AtlasInfo = ::UIThumbnailAtlasRenderer::AtlasInfo
using ItemAtlasInfo = ::std::pair<::UIThumbnailAtlasRenderer::AtlasInfo, ::OreUI::AtlasIndex::ItemEntry>
using SubstitutionMap = ::std::unordered_map<::HashedString, ::HashedString>
using AtlasMap

Public Member Functions

MCAPI UIBlockThumbnailAtlasManager (::Bedrock::NotNullNonOwnerPtr<::IClientInstance > primaryClientInstance, ::std::unordered_map<::HashedString, ::HashedString > substitutionMap)
MCAPI bool _buildThumbnailAtlas (::TaskGroup &taskGroup, bool isResume)
MCAPI void _generateItemIndex (bool stripVanillaNamespace)
MCAPI::OreUI::UIBlockThumbnailAtlasManager::AtlasData & _getAtlasData (::std::string_view atlasName)
MCAPI::mce::TexturePtr _getAtlasTexture (::ItemStack const &item, ::ItemGraphics const &itemGraphics)
MCAPI::OreUI::UIBlockThumbnailAtlasManager::AtlasData & _getOrCreateAtlasData (::std::string_view atlasName, ::mce::TexturePtr const &texturePtr)
MCAPI::mce::TexturePtr _getShulkerBoxTexture (::ItemStack const &item) const
MCAPI void _unloadAtlasTextures ()
MCAPI bool buildThumbnailAtlas (bool isResume)
MCAPI ::std::optional<::std::pair<::UIThumbnailAtlasRenderer::AtlasInfo, ::OreUI::AtlasIndex::ItemEntry > > findItemAndAtlasInfo (::std::string_view name) const
MCFOLD ::std::map<::std::string, ::mce::Color > const & getBlockAverageColorMap ()
MCAPI ::std::shared_ptr<::OreUI::AtlasIndexgetIndex (::std::string_view atlasName) const
MCAPI bool isThumbnailAtlasEnabled () const
MCAPI void onAppResume ()
MCAPI bool rebuildThumbnailAtlas (bool isResume)
MCAPI void * $ctor (::Bedrock::NotNullNonOwnerPtr<::IClientInstance > primaryClientInstance, ::std::unordered_map<::HashedString, ::HashedString > substitutionMap)
MCAPI void $dtor ()

Public Attributes

::ll::TypedStorage< 8, 24, ::Bedrock::NotNullNonOwnerPtr<::IClientInstance > > mClientInstance
::ll::TypedStorage< 8, 64, ::std::unordered_map<::HashedString, ::HashedString > > mSubstitutions
::ll::TypedStorage< 8, 64, ::std::unordered_map<::HashedString, ::std::shared_ptr<::OreUI::AtlasIndex > > > mAtlasIndices
::ll::TypedStorage< 8, 64, ::std::unordered_map<::HashedString, ::std::unique_ptr<::OreUI::UIBlockThumbnailAtlasManager::AtlasData > > > mAtlases
::ll::TypedStorage< 4, 4, ::std::atomic< int > > mAvailableSemaphore
::ll::TypedStorage< 4, 4, uint > mAtlasIndex
::ll::TypedStorage< 8, 16, ::std::map<::std::string, ::mce::Color > > mBlockAverageColorMap

Member Typedef Documentation

◆ AtlasMap

using OreUI::UIBlockThumbnailAtlasManager::AtlasMap
Initial value:
::std::unordered_map<::HashedString, ::std::unique_ptr<::OreUI::UIBlockThumbnailAtlasManager::AtlasData>>

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