class
MPerformanceOverlay
- Module
- Miri
- Header
#include "Miri/Widgets/MPerformanceOverlay.h"- Namespace
Miri
Public functions
| Returns | Name | Description |
|---|---|---|
MIRI_WIDGET_ARGS | ||
void | UpdateStats | |
MiriVec2 | ComputeDesiredSize | |
int32_t | OnPaint | |
bool | CanCacheDesiredSize | Constant panel dimensions — the numbers it prints change every frame inside a card that does not. |
const char* | GetTypeName |
Function details
MIRI_WIDGET_ARGS
C++
MIRI_WIDGET_ARGS(MPerformanceOverlay) MIRI_WIDGET_ARGS_END() void Construct(const CArguments& args)UpdateStats
C++
void UpdateStats(const CMiriPerformanceStats& stats)ComputeDesiredSize
C++
MiriVec2 ComputeDesiredSize(float scale) const overrideOnPaint
C++
int32_t OnPaint(const CMiriPaintArgs& args, const CGeometry& geo, CMiriRenderer& renderer, int32_t layerId) const overrideCanCacheDesiredSize
C++
bool CanCacheDesiredSize() const overrideConstant panel dimensions — the numbers it prints change every frame inside a card that does not.
GetTypeName
C++
const char* GetTypeName() const overrideGenerated from Miri/Widgets/MPerformanceOverlay.h via miri.json · Dec 5, 2026Version 1.1.0