Nebula
Loading...
Searching...
No Matches
imguiprofiler.h
Go to the documentation of this file.
1#pragma once
2//------------------------------------------------------------------------------
9//------------------------------------------------------------------------------
10#include "core/refcounted.h"
11#include "core/singleton.h"
12#include "profiling/profiling.h"
14
15namespace Dynui
16{
17
52
53} // namespace Dynui
The common base class of Nebula.
Definition refcounted.h:38
Definition imguiprofiler.h:19
Util::Array< Profiling::ProfilingContext > profilingContexts
Definition imguiprofiler.h:48
float averageFrameTime
Definition imguiprofiler.h:43
~ImguiProfiler()
Destructor.
Definition imguiprofiler.cc:31
bool profileFixedFps
Definition imguiprofiler.h:42
__DeclareInterfaceSingleton(ImguiProfiler)
float currentFrameTime
Definition imguiprofiler.h:45
int fixedFps
Definition imguiprofiler.h:46
Util::Array< float > frametimeHistory
Definition imguiprofiler.h:47
Util::Array< CoreGraphics::FrameProfilingMarker > frameProfilingMarkers
Definition imguiprofiler.h:49
void Render(Timing::Time frameTime, IndexT frameIndex)
Render, call this per-frame.
Definition imguiprofiler.cc:168
bool showFrameProfiler
Definition imguiprofiler.h:41
bool pauseProfiling
Definition imguiprofiler.h:40
void TogglePause()
Pause profiler.
Definition imguiprofiler.cc:337
float prevAverageFrameTime
Definition imguiprofiler.h:44
ImguiProfiler()
Constructor.
Definition imguiprofiler.cc:17
__DeclareClass(ImguiProfiler)
void Capture()
Capture the frame.
Definition imguiprofiler.cc:39
Nebula's dynamic array class.
Definition array.h:60
Imgui Profiler UI.
Definition imguiconsole.cc:277
double Time
the time datatype
Definition time.h:18
int IndexT
Definition types.h:48