This Class is the manager of all slate, it keeps all slate handle. More...
#include <SlateRegister.h>
Public Member Functions | |
| SlateRegister ()=default | |
| Constructor Function. | |
| virtual | ~SlateRegister ()=default |
| Destructor Function. | |
| SlateRegister (const SlateRegister &)=delete | |
| Copy Constructor Function. | |
| SlateRegister & | operator= (const SlateRegister &)=delete |
| Copy Assignment Operation. | |
| template<typename T , typename ... Args> | |
| std::shared_ptr< T > | Register (bool isPrimary, const std::string &panelName, Args &&... args) |
| This function registry slate instance. | |
| void | OnUpdate (TimeStep &ts) const |
| void | OnRender () const |
| This function is called on SlateRenderer::Render. | |
| void | OnEvent (Event &event) |
| This function will be called on global Event function pointer is called. | |
| std::shared_ptr< ImguiViewport > | GetViewPort () |
| std::shared_ptr< ImguiSlate > | GetSlate (const std::string &name) |
| Get Slate by name. | |
Private Attributes | |
| std::unordered_map< std::string, std::shared_ptr< ImguiSlate > > | m_SlatesEventContainer |
| The container of all slate handle. | |
| std::unordered_map< std::string, std::shared_ptr< ImguiSlate > > | m_SlatesRenderContainer |
| The container of all slate handle. | |
This Class is the manager of all slate, it keeps all slate handle.
Definition at line 34 of file SlateRegister.h.