Home
Getting started
Components overview
Topics
Components
Classes
Tutorials and Examples
Code snippets
Support
PerformanceInfo.h
1
//##################################################################################################
2
//
3
// Ceetron Desktop Components
4
// Component: Visualization
5
//
6
// --------------------------------------------------------------------------------------------
7
// Copyright (C) 2011, Ceetron AS
8
// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Ceetron AS. The contents of this file may
9
// not be disclosed to third parties, copied or duplicated in any form, in whole or in part,
10
// without the prior written permission of Ceetron AS.
11
//##################################################################################################
12
13
#pragma once
14
15
#include "CeeVisualization/Base.h"
16
17
namespace
cee
{
18
namespace
vis {
19
20
//==================================================================================================
25
//==================================================================================================
26
class
CEE_VIS_EXPORT
PerformanceInfo
27
{
28
public
:
29
double
totalDrawTime
;
30
double
averageTotalDrawTime
;
31
32
double
computeVisiblePartsTime
;
33
double
buildRenderQueueTime
;
34
double
sortRenderQueueTime
;
35
double
renderEngineTime
;
36
size_t
renderingCount
;
37
38
size_t
visiblePartsCount
;
39
size_t
renderedPartsCount
;
40
size_t
vertexCount
;
41
size_t
triangleCount
;
42
size_t
openGLPrimitiveCount
;
43
size_t
applyRenderStateCount
;
44
size_t
shaderProgramChangesCount
;
45
46
size_t
vboCount
;
47
double
vboMemoryUsageMB
;
48
};
49
50
}
// namespace vis
51
}
// namespace cee
cee
Namespace cee contains all functionality and structures under the Core component. ...
Definition:
AppComponent.cpp:26
cee::vis::PerformanceInfo::visiblePartsCount
size_t visiblePartsCount
Number of visible parts.
Definition:
PerformanceInfo.h:38
cee::vis::PerformanceInfo::triangleCount
size_t triangleCount
Number of triangles (GL_TRIANGELS)
Definition:
PerformanceInfo.h:41
cee::vis::PerformanceInfo::buildRenderQueueTime
double buildRenderQueueTime
Time (in seconds) used to build the rendering queue.
Definition:
PerformanceInfo.h:33
cee::vis::PerformanceInfo::openGLPrimitiveCount
size_t openGLPrimitiveCount
Total number of GL primitives drawn (lines, points, polygons, etc). For strips the number of resultin...
Definition:
PerformanceInfo.h:42
cee::vis::PerformanceInfo::vboCount
size_t vboCount
Number of VBOs in use.
Definition:
PerformanceInfo.h:46
cee::vis::PerformanceInfo::sortRenderQueueTime
double sortRenderQueueTime
Time (in seconds) used to sort the render queue.
Definition:
PerformanceInfo.h:34
cee::vis::PerformanceInfo::averageTotalDrawTime
double averageTotalDrawTime
Average over the last 10 renderings.
Definition:
PerformanceInfo.h:30
cee::vis::PerformanceInfo::applyRenderStateCount
size_t applyRenderStateCount
Number of render state changes.
Definition:
PerformanceInfo.h:43
cee::vis::PerformanceInfo::computeVisiblePartsTime
double computeVisiblePartsTime
Time (in seconds) used to create the visible part collection.
Definition:
PerformanceInfo.h:32
cee::vis::PerformanceInfo::renderEngineTime
double renderEngineTime
Time (in seconds) used to render the pre-processed rendering queue.
Definition:
PerformanceInfo.h:35
cee::vis::PerformanceInfo::vboMemoryUsageMB
double vboMemoryUsageMB
Total memory used by VBOs (in megabytes)
Definition:
PerformanceInfo.h:47
cee::vis::PerformanceInfo::renderedPartsCount
size_t renderedPartsCount
Number of parts that was drawn.
Definition:
PerformanceInfo.h:39
cee::vis::PerformanceInfo::vertexCount
size_t vertexCount
Number of vertices (nodes, points) used to draw.
Definition:
PerformanceInfo.h:40
cee::vis::PerformanceInfo::totalDrawTime
double totalDrawTime
Total amount of time (in seconds) used to draw the last frame.
Definition:
PerformanceInfo.h:29
cee::vis::PerformanceInfo::shaderProgramChangesCount
size_t shaderProgramChangesCount
Number of shader program changes.
Definition:
PerformanceInfo.h:44
cee::vis::PerformanceInfo::renderingCount
size_t renderingCount
Number of renderings.
Definition:
PerformanceInfo.h:36
cee::vis::PerformanceInfo
Class for storing performance info stats.
Definition:
PerformanceInfo.h:26
CeeVisualization
PerformanceInfo.h
Updated: Fri Jun 17 2022 - Copyright © 2022 Ceetron AS