SpiecsEngine
Loading...
Searching...
No Matches
◆
GetSlate()
std::shared_ptr<
ImguiSlate
> Spices::SlateRegister::GetSlate
(
const std::string &
name
)
Get Slate by name.
Parameters
[in]
name
Slate name. @reutrn Returns Slate instance.
Definition at line
60
of file
SlateRegister.cpp
.
61
{
62
SPICES_PROFILE_ZONE
;
63
64
if
(
m_SlatesEventContainer
.find(name) !=
m_SlatesEventContainer
.end())
65
{
66
return
m_SlatesEventContainer
[name];
67
}
68
69
return
nullptr
;
70
}
SPICES_PROFILE_ZONE
#define SPICES_PROFILE_ZONE
Definition
TracyProfilerWrapper.h:100
Spices::SlateRegister::m_SlatesEventContainer
std::unordered_map< std::string, std::shared_ptr< ImguiSlate > > m_SlatesEventContainer
The container of all slate handle.
Definition
SlateRegister.h:106
Spices
SlateRegister
Generated on Sun Mar 8 2026 10:24:49 for SpiecsEngine by
1.10.0