SpiecsEngine
 
Loading...
Searching...
No Matches

◆ GetViewPort()

std::shared_ptr< ImguiViewport > Spices::SlateRegister::GetViewPort ( )

@breif Get Viewport Slate.

Returns
Returns the shared pointer of ImguiViewport.
Todo
remove this api.

Definition at line 53 of file SlateRegister.cpp.

54 {
56
57 return std::static_pointer_cast<ImguiViewport>(m_SlatesRenderContainer["ViewPort"]);
58 }
#define SPICES_PROFILE_ZONE
std::unordered_map< std::string, std::shared_ptr< ImguiSlate > > m_SlatesRenderContainer
The container of all slate handle.