2
3
4
5
9#include "Systems/SlateSystem.h"
10#include "Debugger/ImguiDebugger.h"
11#include "Statistics/ImguiStatistics.h"
16 const std::string& panelName ,
24
25
26 m_ImguiDebugger = SlateSystem::GetRegister()->Register<ImguiDebugger>(
false,
"Debugger");
27 m_ImguiStatistics = SlateSystem::GetRegister()->Register<ImguiStatistics>(
false,
"Statistics");
35
36
39 if (ImGui::BeginMenu(ss.str().c_str()))
42
43
44 if (ImGui::MenuItem(
ICON_TEXT(ICON_MD_CHECK, Actions))) {}
45 if (ImGui::MenuItem(
ICON_TEXT(ICON_MD_CHECK, Activity Progress))) {}
46 if (ImGui::MenuItem(
ICON_TEXT(ICON_MD_CHECK, Asset Validator))) {}
47 if (ImGui::MenuItem(
ICON_TEXT(ICON_MD_CHECK, Console))) {}
48 if (ImGui::BeginMenu(
ICON_TEXT(ICON_MD_CHECK, Debugger))) { m_ImguiDebugger->OnRender(); }
49 if (ImGui::MenuItem(
ICON_TEXT(ICON_MD_CHECK, Scene Optimizer))) {}
50 if (ImGui::BeginMenu(
ICON_TEXT(ICON_MD_CHECK, Statistics))) { m_ImguiStatistics->OnRender(); }
51 if (ImGui::MenuItem(
ICON_TEXT(ICON_MD_CHECK, USD Paths))) {}
54
55
#define ICON_TEXT(icon, text)
#define SPICES_PROFILE_ZONE
FrameInfo Class. This class defines the FrameInfo data.
ImguiSlate(const std::string &panelName, FrameInfo &frameInfo)
Constructor Function. Init with Slate's name.
std::string m_PanelName
This slate's name.
This Class defines the basic behaves of specific slate. When we add an new Slate, we need inherit fro...
virtual void OnRender() override
This interface is called On SlateRenderer Render.
ImguiUtilities(const std::string &panelName, FrameInfo &frameInfo)
Constructor Function.
The ImguiUtilities Class. This class defines how to render a Utilities.