libultraship
Reimplementations of libultra (N64 SDK) functions for modern hardware
Loading...
Searching...
No Matches
ComponentHierarchyWindow.h
Go to the documentation of this file.
1#pragma once
2
4#include <memory>
5
6namespace Ship {
7class ConsoleVariable;
8class Window;
9
19 public:
20 ComponentHierarchyWindow(std::shared_ptr<ConsoleVariable> consoleVariable, std::shared_ptr<Window> window,
21 const std::string& visibilityCvar, const std::string& name);
23
24 protected:
25 void DrawElement() override;
26
27 private:
28 uint64_t mLastHierarchyVersion = UINT64_MAX;
29 std::string mCachedTreeString;
30};
31} // namespace Ship
A GuiWindow that displays the Component hierarchy tree and the list of TickableComponents registered ...
Definition ComponentHierarchyWindow.h:18
void DrawElement() override
Renders the element's content (pure ImGui draw calls).
ComponentHierarchyWindow(std::shared_ptr< ConsoleVariable > consoleVariable, std::shared_ptr< Window > window, const std::string &visibilityCvar, const std::string &name)
A floating ImGui window managed by the Ship Gui layer.
Definition GuiWindow.h:39
Core namespace for the libultraship engine framework.
Definition gfx_direct3d_common.h:14