LeviLamina
Loading...
Searching...
No Matches
TextureHotReloader Struct Reference
Inheritance diagram for TextureHotReloader:

Public Types

using StatusCallbackType = void(::TextureAtlasStatus const&)
using ReloadCallbackType = void(::ResourceLocation const&)
using TextureAtlasTaskEnqueueType = void(::TextureAtlasResourceCallbacks)
using TextureAtlasReloadCallbackType

Public Member Functions

MCAPI TextureHotReloader (::std::unique_ptr<::mce::IResourceWatcher< ::cg::ResourceLoader< ::std::shared_ptr<::mce::Image >, ::ResourceLocation, ::StdIoStreamPolicy, ::StbImageLoadPolicy, ::std::vector< uchar > >, ::ImageResourceManager > > imageWatcher, ::TextureHotReloaderMode mode)
MCAPI void cacheTextures (::std::shared_ptr<::mce::TextureGroup > textureGroup)
MCAPI bool isFileWatched (::ResourceLocation const &resloc, ::IResourceLocationExpander const &resourceLocationExpander)
MCAPI void loadCachedTextureData (::std::shared_ptr<::mce::TextureGroup > textureGroup)
MCAPI void registerAtlas (::TextureAtlas &textureAtlas, ::std::shared_ptr<::mce::TextureGroup > textureGroup, ::IResourceLocationExpander const &resourceLocationExpander, ::cg::MipMapSupport const &mipMapSupport, ::std::function< void(::TextureAtlasResourceCallbacks)> textureAtlasTaskEnqueueCallback, ::std::function< void(::TextureAtlasStatus const &)> textureAtlasStatusCallback, ::std::function< void(::ResourceLocation const &, ::std::shared_ptr<::cg::ImageBuffer >, ::std::shared_ptr<::std::unordered_map<::ResourceLocation, ::cg::TextureSetImageContainer > >)> textureAtlasReloadCallback)
MCAPI void registerTexture (::ResourceLocation const &resLoc, ::std::shared_ptr<::mce::TextureGroup > textureGroup, ::IResourceLocationExpander const &resourceLocationExpander, ::std::function< void(::ResourceLocation const &)> textureReloadCallback)
MCAPI void * $ctor (::std::unique_ptr<::mce::IResourceWatcher< ::cg::ResourceLoader< ::std::shared_ptr<::mce::Image >, ::ResourceLocation, ::StdIoStreamPolicy, ::StbImageLoadPolicy, ::std::vector< uchar > >, ::ImageResourceManager > > imageWatcher, ::TextureHotReloaderMode mode)
MCFOLD void $dtor ()

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 16, ::std::shared_ptr<::std::map<::ResourceLocation, ::cg::ImageBuffer > > > mCachedTextures
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::mce::IResourceWatcher< ::cg::ResourceLoader< ::std::shared_ptr<::mce::Image >, ::ResourceLocation, ::StdIoStreamPolicy, ::StbImageLoadPolicy, ::std::vector< uchar > >, ::ImageResourceManager > > > mImageWatcher
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::ImageResourceManager > > mImageResourceManager
::ll::TypedStorage< 8, 64, ::std::unordered_map<::ResourceLocation, ::mce::FileWatcherHandle > > mFileWatcherHandles
::ll::TypedStorage< 4, 4, ::TextureHotReloaderMode const > mMode
::std::shared_ptr<::Bedrock::EnableNonOwnerReferences::ControlBlock > mControlBlock

Member Typedef Documentation

◆ TextureAtlasReloadCallbackType

using TextureHotReloader::TextureAtlasReloadCallbackType
Initial value:
void(
::std::shared_ptr<::cg::ImageBuffer>,
::std::shared_ptr<::std::unordered_map<::ResourceLocation, ::cg::TextureSetImageContainer>>
)
Definition ResourceLocation.h:15

Member Function Documentation

◆ $vftable()

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.

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