LeviLamina
Loading...
Searching...
No Matches
GraphicsTasks.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/threading/WorkQueue.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace Bedrock::Threading::Burst::Strategy { class Console; }
11namespace Bedrock::Threading::Burst::Strategy::Execution { class GreedyExecution; }
12// clang-format on
13
14namespace dragon::tasks {
15
17public:
18 // GraphicsTasks inner types declare
19 // clang-format off
20 struct InitBegin;
21 struct InitBgfx;
22 struct InitEnd;
23 struct InitFinalize;
24 struct InitPending;
26 // clang-format on
27
28 // GraphicsTasks inner types define
29 enum class ExecutionMode : int {
30 Immediate = 0,
31 Deferred = 1,
32 RenderThreadLocked = 2,
33 Unconstrained = 3,
34 };
35
36 struct InitBgfx {
37 public:
38 // member variables
39 // NOLINTBEGIN
43 // NOLINTEND
44
45 public:
46 // prevent constructor by default
47 InitBgfx& operator=(InitBgfx const&);
48 InitBgfx(InitBgfx const&);
49 InitBgfx();
50 };
51
53
55 public:
56 // member variables
57 // NOLINTBEGIN
60 // NOLINTEND
61
62 public:
63 // prevent constructor by default
64 InitPending& operator=(InitPending const&);
67 };
68
69 struct InitFinalize {};
70
71 struct InitEnd {
72 public:
73 // member variables
74 // NOLINTBEGIN
76 // NOLINTEND
77
78 public:
79 // prevent constructor by default
80 InitEnd& operator=(InitEnd const&);
81 InitEnd(InitEnd const&);
82 InitEnd();
83 };
84
85 struct InitializationState : public ::std::variant<
86 ::std::monostate,
87 ::dragon::tasks::GraphicsTasks::InitBegin,
88 ::dragon::tasks::GraphicsTasks::InitPending,
89 ::dragon::tasks::GraphicsTasks::InitFinalize,
90 ::dragon::tasks::GraphicsTasks::InitEnd> {};
91
92public:
93 // member variables
94 // NOLINTBEGIN
116 // NOLINTEND
117
118public:
119 // prevent constructor by default
120 GraphicsTasks& operator=(GraphicsTasks const&);
123};
124
125} // namespace dragon::tasks
Definition GraphicsTasks.h:16
Definition GraphicsTasks.h:52
Definition GraphicsTasks.h:36
Definition GraphicsTasks.h:71
Definition GraphicsTasks.h:69
Definition GraphicsTasks.h:54
Definition Alias.h:14