0031502: Coding - New warnings after integration fix for 0031456
[occt.git] / src / Graphic3d / Graphic3d_FrameStatsCounter.hxx
CommitLineData
5e30547b 1// Copyright (c) 2018 OPEN CASCADE SAS
2//
3// This file is part of Open CASCADE Technology software library.
4//
5// This library is free software; you can redistribute it and/or modify it under
6// the terms of the GNU Lesser General Public License version 2.1 as published
7// by the Free Software Foundation, with special exception defined in the file
8// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
9// distribution for complete text of the license and disclaimer of any warranty.
10//
11// Alternatively, this file may be used under the terms of Open CASCADE
12// commercial license or contractual agreement.
13
14#ifndef _Graphic3d_FrameStatsCounter_HeaderFile
15#define _Graphic3d_FrameStatsCounter_HeaderFile
16
17//! Stats counter.
18enum Graphic3d_FrameStatsCounter
19{
20 Graphic3d_FrameStatsCounter_NbLayers = 0, //!< number of ZLayers
21 Graphic3d_FrameStatsCounter_NbLayersNotCulled, //!< number of not culled ZLayers
22 Graphic3d_FrameStatsCounter_NbStructs, //!< number of defined OpenGl_Structure
23 Graphic3d_FrameStatsCounter_NbStructsNotCulled, //!< number of not culled OpenGl_Structure
24 Graphic3d_FrameStatsCounter_NbGroupsNotCulled, //!< number of not culled OpenGl_Group
25 Graphic3d_FrameStatsCounter_NbElemsNotCulled, //!< number of not culled OpenGl_Element
26 Graphic3d_FrameStatsCounter_NbElemsFillNotCulled, //!< number of not culled OpenGl_PrimitiveArray drawing triangles
27 Graphic3d_FrameStatsCounter_NbElemsLineNotCulled, //!< number of not culled OpenGl_PrimitiveArray drawing lines
28 Graphic3d_FrameStatsCounter_NbElemsPointNotCulled, //!< number of not culled OpenGl_PrimitiveArray drawing points
29 Graphic3d_FrameStatsCounter_NbElemsTextNotCulled, //!< number of not culled OpenGl_Text
30 Graphic3d_FrameStatsCounter_NbTrianglesNotCulled, //!< number of not culled (as structure) triangles
31 Graphic3d_FrameStatsCounter_NbPointsNotCulled, //!< number of not culled (as structure) points
32 Graphic3d_FrameStatsCounter_EstimatedBytesGeom, //!< estimated GPU memory used for geometry
33 Graphic3d_FrameStatsCounter_EstimatedBytesFbos, //!< estimated GPU memory used for FBOs
34 Graphic3d_FrameStatsCounter_EstimatedBytesTextures, //!< estimated GPU memory used for textures
35};
36enum { Graphic3d_FrameStatsCounter_NB = Graphic3d_FrameStatsCounter_EstimatedBytesTextures + 1 };
37
38#endif // _Graphic3d_FrameStatsCounter_HeaderFile