Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
AsyncCachedTextureLoader.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/resource/ResourceLocation.h"
7#include "mc/deps/core/threading/TaskGroup.h"
8
9// auto generated forward declare list
10// clang-format off
11class Scheduler;
12class WorkerPool;
13namespace cg { class ImageBuffer; }
14namespace mce { class TextureGroup; }
15// clang-format on
16
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 336, ::TaskGroup> mTaskGroup;
22 ::ll::TypedStorage<8, 16, ::std::set<::ResourceLocation>> mQueuedImages;
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
27 AsyncCachedTextureLoader();
28
29public:
30 // member functions
31 // NOLINTBEGIN
32 MCNAPI
33 AsyncCachedTextureLoader(::WorkerPool& workerPool, ::Scheduler& scheduler, ::std::string const& taskGroupName);
34
35 MCNAPI ::cg::ImageBuffer*
37
39 // NOLINTEND
40
41public:
42 // constructor thunks
43 // NOLINTBEGIN
44 MCNAPI void* $ctor(::WorkerPool& workerPool, ::Scheduler& scheduler, ::std::string const& taskGroupName);
45 // NOLINTEND
46
47public:
48 // destructor thunk
49 // NOLINTBEGIN
50 MCNAPI void $dtor();
51 // NOLINTEND
52};
Definition AsyncCachedTextureLoader.h:5
MCAPI AsyncCachedTextureLoader(::WorkerPool &workerPool, ::Scheduler &scheduler, ::std::string const &taskGroupName)
MCAPI::cg::ImageBuffer * getCachedImageOrLoadAsync(::ResourceLocation const &imageToLoad, ::mce::TextureGroup &textureGroup)
MCAPI void * $ctor(::WorkerPool &workerPool, ::Scheduler &scheduler, ::std::string const &taskGroupName)
Definition ResourceLocation.h:15
Definition Scheduler.h:15
Definition WorkerPool.h:22
Definition ImageBuffer.h:16
Definition TextureGroup.h:7