MCRO
C++23 utilities for Unreal Engine.
|
Functions | |
MCRO_API auto | GetThreadCheck (ENamedThreads::Type threadName) -> bool(*)() |
template<CFunctionLike When> requires (TFunction_ArgCount<When> == 0) | |
void | RunInThreadBoilerplate (ENamedThreads::Type threadName, TUniqueFunction< void()> &&func, When &&when) |
template<CFunctionLike When> requires (TFunction_ArgCount<When> == 0) | |
void | EnqueueRenderCommandBoilerplate (TUniqueFunction< void(FRHICommandListImmediate &)> &&func, When &&when) |
template<CFunctorObject Function, typename Result = TFunction_Return<Function>, CFunctionLike When> requires ( TFunction_ArgCount<Function> == 0 && TFunction_ArgCount<When> == 0 ) | |
TFuture< Result > | PromiseInThreadBoilerplate (ENamedThreads::Type threadName, Function &&func, When &&when) |
template<CFunctorObject Function, typename Result = TFunction_Return<Function>, CFunctionLike When> requires ( TFunction_ArgCount<Function> == 1 && CSameAs<FRHICommandListImmediate&, TFunction_Arg<Function, 0>> && TFunction_ArgCount<When> == 0 ) | |
TFuture< Result > | EnqueueRenderPromiseBoilerplate (ENamedThreads::Type threadName, Function &&func, When &&when) |
void Mcro::Threading::Detail::EnqueueRenderCommandBoilerplate | ( | TUniqueFunction< void(FRHICommandListImmediate &)> && | func, |
When && | when ) |
Definition at line 48 of file Threading.h.
TFuture< Result > Mcro::Threading::Detail::EnqueueRenderPromiseBoilerplate | ( | ENamedThreads::Type | threadName, |
Function && | func, | ||
When && | when ) |
Definition at line 90 of file Threading.h.
MCRO_API auto Mcro::Threading::Detail::GetThreadCheck | ( | ENamedThreads::Type | threadName | ) | -> bool(*)() |
TFuture< Result > Mcro::Threading::Detail::PromiseInThreadBoilerplate | ( | ENamedThreads::Type | threadName, |
Function && | func, | ||
When && | when ) |
Definition at line 65 of file Threading.h.
void Mcro::Threading::Detail::RunInThreadBoilerplate | ( | ENamedThreads::Type | threadName, |
TUniqueFunction< void()> && | func, | ||
When && | when ) |
Definition at line 35 of file Threading.h.