Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Debug
Profile
ProfileVisualiser.h
1
// Copyright (c) 2014 eeGeo. All rights reserved.
2
3
#pragma once
4
5
#include "Types.h"
6
#include "DebugRendering.h"
7
#include "Profile.h"
8
#include "Rendering.h"
9
10
namespace
Eegeo
11
{
12
namespace
Debug
13
{
14
namespace
Profile
15
{
16
class
ProfileVisualiser
:
private
Eegeo::NonCopyable
17
{
18
public
:
19
ProfileVisualiser
(
const
Profiler
& profiler,
DebugRendering::DebugRenderer
& debugRenderer)
20
: m_profiler(profiler)
21
, m_debugRenderer(debugRenderer)
22
, m_enabled(
false
)
23
{
24
}
25
26
void
Draw(
const
Rendering::RenderContext
& renderContext);
27
28
const
bool
GetEnabled()
const
{
return
m_enabled; }
29
void
SetEnabled(
bool
enabled) { m_enabled = enabled; }
30
31
private
:
32
const
Profiler
& m_profiler;
33
DebugRendering::DebugRenderer
& m_debugRenderer;
34
bool
m_enabled;
35
};
36
}
37
}
38
}
Generated on Sat Jun 10 2023 02:00:30 for eeGeo Platform SDK by
1.8.3.1