Open 3D Engine Profiler Gem API Reference
24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
#include <ImGuiTreemap.h>
Inherited by Profiler::ImGuiTreemapFactoryImpl.
Public Types | |
using | Interface = AZ::Interface< ImGuiTreemapFactory > |
Public Member Functions | |
AZ_RTTI (ImGuiTreemapFactory, "{90BCA753-6152-4942-8A81-DD14196A6811}") | |
virtual ImGuiTreemap & | Create (AZ::Name name, const char *unitLabel)=0 |
virtual void | Destroy (ImGuiTreemap *treemap)=0 |
Usage: Create a treemap using the factory interface like so: Profiler::ImGuiTreemapFactory::Interface::Get()->Create(AZ::Name{ "My Treemap" }, "MiB"); When you no longer need the treemap, pass the created treemap to the Destroy method.
|
pure virtual |
Create an ImGuiTreemap with managed lifetime given the specified name and unit label (threadsafe)
name | Treemap name (shows up in the UI titlebar) |
unitLabel | Unit label This shows up after node weights are displayed, e.g. "382 degrees centigrade" if unitLabel == "degrees centigrade" and the node weight is 382) |
Implemented in Profiler::ImGuiTreemapFactoryImpl.
|
pure virtual |
Destroys a previously created treemap (threadsafe)
treemap | Pointer to the treemap created previously |
Implemented in Profiler::ImGuiTreemapFactoryImpl.