Open 3D Engine Profiler Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
Profiler::ImGuiTreemapFactoryImpl Class Reference

Inherits Profiler::ImGuiTreemapFactory.

Public Member Functions

ImGuiTreemapCreate (AZ::Name name, const char *unitLabel) override
 
void Destroy (ImGuiTreemap *treemap) override
 
- Public Member Functions inherited from Profiler::ImGuiTreemapFactory
 AZ_RTTI (ImGuiTreemapFactory, "{90BCA753-6152-4942-8A81-DD14196A6811}")
 
virtual ImGuiTreemapCreate (AZ::Name name, const char *unitLabel)=0
 
virtual void Destroy (ImGuiTreemap *treemap)=0
 

Additional Inherited Members

- Public Types inherited from Profiler::ImGuiTreemapFactory
using Interface = AZ::Interface< ImGuiTreemapFactory >
 

Member Function Documentation

◆ Create()

ImGuiTreemap & Profiler::ImGuiTreemapFactoryImpl::Create ( AZ::Name  name,
const char *  unitLabel 
)
overridevirtual

Create an ImGuiTreemap with managed lifetime given the specified name and unit label (threadsafe)

Parameters
nameTreemap name (shows up in the UI titlebar)
unitLabelUnit label This shows up after node weights are displayed, e.g. "382 degrees centigrade" if unitLabel == "degrees centigrade" and the node weight is 382)

Implements Profiler::ImGuiTreemapFactory.

◆ Destroy()

void Profiler::ImGuiTreemapFactoryImpl::Destroy ( ImGuiTreemap treemap)
overridevirtual

Destroys a previously created treemap (threadsafe)

Parameters
treemapPointer to the treemap created previously

Implements Profiler::ImGuiTreemapFactory.


The documentation for this class was generated from the following file: