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