Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
CubemapBackgroundResources Class Reference
Inheritance diagram for CubemapBackgroundResources:

Public Types

enum class  CubemapType : int { Sdr = 0 , Hdr = 1 }
enum class  CubemapType : int { Sdr = 0 , Hdr = 1 }

Public Member Functions

virtual void onActiveResourcePacksChanged (::ResourcePackManager &)
MCAPI CubemapBackgroundResources (::std::shared_ptr<::mce::TextureGroup > textureGroup, ::ResourcePackManager &resourcePackManager, ::CubemapBackgroundResources::CubemapType const &cubemapType)
MCAPI void _checkHDRTexturesAvailableAndFallback (::std::shared_ptr<::mce::TextureGroup > textureGroup)
MCAPI void _unloadPanoramaTextures (::std::shared_ptr<::mce::TextureGroup > textureGroup)
MCAPI bool arePanoramaTexturesLoadedInGroup (::std::shared_ptr<::mce::TextureGroup > textures) const
MCAPI void frameUpdate (::IClientInstance &clientInstance, ::FrameUpdateContext &frameUpdateContext)
MCAPI void loadAssets (::mce::TextureResourceService &textureResourceService, ::std::shared_ptr<::mce::TextureGroup > textureGroup)
MCAPI void unloadAssets (::std::shared_ptr<::mce::TextureGroup > textureGroup)
MCAPI void updateAssets (::std::shared_ptr<::mce::TextureGroup > textureGroup)
MCAPI void updateCubemapType (::CubemapBackgroundResources::CubemapType const &cubemapType, ::std::shared_ptr<::mce::TextureGroup > textureGroup)
MCAPI void * $ctor (::std::shared_ptr<::mce::TextureGroup > textureGroup, ::ResourcePackManager &resourcePackManager, ::CubemapBackgroundResources::CubemapType const &cubemapType)
MCAPI void $onActiveResourcePacksChanged (::ResourcePackManager &)
MCFOLD void $dtor ()
virtual bool onFullPackStackInvalid ()
virtual void onBaseGamePackDownloadComplete ()
virtual void onLanguageSubpacksChanged ()
virtual void onResourceManagerDestroyed (::ResourcePackManager &)
virtual void onJsonResourcesChanged (::ResourcePackManager &resourcePackManager)

Static Public Member Functions

static MCAPI void ** $vftable ()
static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 1, 1, bool > mIsVanillaCubemap
::ll::TypedStorage< 8, 24, ::Bedrock::NotNullNonOwnerPtr<::ResourcePackManager > > mResourcePackManager
::ll::TypedStorage< 8, 192, ::std::array<::mce::TexturePtr, 6 > > mPanoramaImages
::ll::TypedStorage< 8, 336, ::std::array<::ResourceLocation, 6 > > mPanormaResourceLocations
::ll::TypedStorage< 8, 336, ::std::array<::ResourceLocation, 6 > > mPanoramaHDRResourceLocations
::ll::TypedStorage< 8, 16, ::mce::ClientTexture > mCubemapTexture
::ll::TypedStorage< 8, 56, ::ResourceLocation > mOverlayLocation
::ll::TypedStorage< 8, 32, ::mce::TexturePtr > mOverlayTexture
::ll::TypedStorage< 4, 4, int > mTextureRefCount
::ll::TypedStorage< 1, 1, bool > mPrimaryClientUnloaded
::ll::TypedStorage< 1, 1, bool > mPendingRecreateCubemap
::ll::TypedStorage< 1, 2, ::std::optional< bool > > mHDRTexturesUnavailable
::ll::TypedStorage< 4, 4, ::CubemapBackgroundResources::CubemapType > mCubemapType
::ll::TypedStorage< 4, 16, ::mce::Color > mFadeInColor
::std::shared_ptr<::Bedrock::EnableNonOwnerReferences::ControlBlock > mControlBlock

Constructor & Destructor Documentation

◆ CubemapBackgroundResources()

MCAPI CubemapBackgroundResources::CubemapBackgroundResources ( ::std::shared_ptr<::mce::TextureGroup > textureGroup,
::ResourcePackManager & resourcePackManager,
::CubemapBackgroundResources::CubemapType const & cubemapType )
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

◆ onActiveResourcePacksChanged()

virtual void CubemapBackgroundResources::onActiveResourcePacksChanged ( ::ResourcePackManager & )
virtual

Implements ResourcePackListener.

◆ _checkHDRTexturesAvailableAndFallback()

MCAPI void CubemapBackgroundResources::_checkHDRTexturesAvailableAndFallback ( ::std::shared_ptr<::mce::TextureGroup > textureGroup)
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.

◆ _unloadPanoramaTextures()

MCAPI void CubemapBackgroundResources::_unloadPanoramaTextures ( ::std::shared_ptr<::mce::TextureGroup > textureGroup)
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.

◆ arePanoramaTexturesLoadedInGroup()

MCAPI bool CubemapBackgroundResources::arePanoramaTexturesLoadedInGroup ( ::std::shared_ptr<::mce::TextureGroup > textures) const
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.

◆ frameUpdate()

MCAPI void CubemapBackgroundResources::frameUpdate ( ::IClientInstance & clientInstance,
::FrameUpdateContext & frameUpdateContext )
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.

◆ loadAssets()

MCAPI void CubemapBackgroundResources::loadAssets ( ::mce::TextureResourceService & textureResourceService,
::std::shared_ptr<::mce::TextureGroup > textureGroup )
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.

◆ unloadAssets()

MCAPI void CubemapBackgroundResources::unloadAssets ( ::std::shared_ptr<::mce::TextureGroup > textureGroup)
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.

◆ updateAssets()

MCAPI void CubemapBackgroundResources::updateAssets ( ::std::shared_ptr<::mce::TextureGroup > textureGroup)
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.

◆ updateCubemapType()

MCAPI void CubemapBackgroundResources::updateCubemapType ( ::CubemapBackgroundResources::CubemapType const & cubemapType,
::std::shared_ptr<::mce::TextureGroup > textureGroup )
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 * CubemapBackgroundResources::$ctor ( ::std::shared_ptr<::mce::TextureGroup > textureGroup,
::ResourcePackManager & resourcePackManager,
::CubemapBackgroundResources::CubemapType const & cubemapType )
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.

◆ $onActiveResourcePacksChanged()

MCAPI void CubemapBackgroundResources::$onActiveResourcePacksChanged ( ::ResourcePackManager & )
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.

◆ $vftable() [1/2]

MCAPI void ** Bedrock::EnableNonOwnerReferences::$vftable ( )
staticinherited
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.

◆ $vftable() [2/2]

MCAPI void ** ResourcePackListener::$vftable ( )
staticinherited
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: