Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
CachedScenes.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/json/Value.h"
7
8// auto generated forward declare list
9// clang-format off
10class LayoutManager;
11class TaskGroup;
13class VisualTree;
14struct CachedScene;
15// clang-format on
16
17class CachedScenes {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<1, 1, bool> mLowMemoryDevice;
22 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::TaskGroup>> mDestroyScreenTaskGroup;
23 ::ll::TypedStorage<8, 16, ::std::map<::Json::Value, ::std::unique_ptr<::CachedScene>>> mCachedScene;
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
28 CachedScenes();
29
30public:
31 // member functions
32 // NOLINTBEGIN
34 bool lowMemoryDevice,
35 ::std::function<::std::unique_ptr<::TaskGroup>(::std::string)> const& taskGroupProvider
36 );
37
38 MCNAPI void cacheVisualTree(
39 ::std::unique_ptr<::VisualTree> screen,
40 ::std::shared_ptr<::UIControlFactory> factory,
41 ::std::unique_ptr<::LayoutManager> layoutManager
42 );
43
44 MCNAPI ~CachedScenes();
45 // NOLINTEND
46
47public:
48 // constructor thunks
49 // NOLINTBEGIN
50 MCNAPI void* $ctor(
51 bool lowMemoryDevice,
52 ::std::function<::std::unique_ptr<::TaskGroup>(::std::string)> const& taskGroupProvider
53 );
54 // NOLINTEND
55
56public:
57 // destructor thunk
58 // NOLINTBEGIN
59 MCNAPI void $dtor();
60 // NOLINTEND
61};
Definition CachedScenes.h:5
MCAPI void $dtor()
MCAPI ~CachedScenes()
MCAPI void * $ctor(bool lowMemoryDevice, ::std::function<::std::unique_ptr<::TaskGroup >(::std::string)> const &taskGroupProvider)
MCAPI CachedScenes(bool lowMemoryDevice, ::std::function<::std::unique_ptr<::TaskGroup >(::std::string)> const &taskGroupProvider)
MCAPI void cacheVisualTree(::std::unique_ptr<::VisualTree > screen, ::std::shared_ptr<::UIControlFactory > factory, ::std::unique_ptr<::LayoutManager > layoutManager)
Definition LayoutManager.h:5
Definition TaskGroup.h:85
Definition UIControlFactory.h:5
Definition VisualTree.h:5
Definition CachedScene.h:5